mirror of
https://github.com/twofas/2fas-android.git
synced 2024-11-24 11:19:57 +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,
|
text = state.info,
|
||||||
textStyles = textStyles,
|
textStyles = textStyles,
|
||||||
style = style,
|
style = style,
|
||||||
|
spacer = editMode.not(),
|
||||||
modifier = Modifier.fillMaxWidth(),
|
modifier = Modifier.fillMaxWidth(),
|
||||||
)
|
)
|
||||||
|
|
||||||
@ -154,7 +155,7 @@ fun DsService(
|
|||||||
code = state.code,
|
code = state.code,
|
||||||
nextCode = state.nextCode,
|
nextCode = state.nextCode,
|
||||||
timer = state.timer,
|
timer = state.timer,
|
||||||
nextCodeVisible = state.isNextCodeEnabled(showNextCode) && state.revealed,
|
nextCodeVisible = state.isNextCodeEnabled(showNextCode) && state.revealed && editMode.not(),
|
||||||
nextCodeGravity = when (style) {
|
nextCodeGravity = when (style) {
|
||||||
ServiceStyle.Default -> NextCodeGravity.Below
|
ServiceStyle.Default -> NextCodeGravity.Below
|
||||||
ServiceStyle.Compact -> NextCodeGravity.End
|
ServiceStyle.Compact -> NextCodeGravity.End
|
||||||
|
Loading…
Reference in New Issue
Block a user