mirror of
https://github.com/twofas/2fas-android.git
synced 2024-11-21 17:59:50 +01:00
Fix service spacing in edit mode
This commit is contained in:
parent
2f220b1473
commit
224fdbf8de
@ -141,6 +141,7 @@ fun DsService(
|
||||
text = state.info,
|
||||
textStyles = textStyles,
|
||||
style = style,
|
||||
spacer = editMode.not(),
|
||||
modifier = Modifier.fillMaxWidth(),
|
||||
)
|
||||
|
||||
@ -154,7 +155,7 @@ fun DsService(
|
||||
code = state.code,
|
||||
nextCode = state.nextCode,
|
||||
timer = state.timer,
|
||||
nextCodeVisible = state.isNextCodeEnabled(showNextCode) && state.revealed,
|
||||
nextCodeVisible = state.isNextCodeEnabled(showNextCode) && state.revealed && editMode.not(),
|
||||
nextCodeGravity = when (style) {
|
||||
ServiceStyle.Default -> NextCodeGravity.Below
|
||||
ServiceStyle.Compact -> NextCodeGravity.End
|
||||
|
Loading…
Reference in New Issue
Block a user