mirror of
https://github.com/nextcloud/talk-android
synced 2025-03-06 22:29:09 +00:00
Merge pull request #4659 from nextcloud/changing-btn-layout-date-time-fragment
Switched the "Close" and "Set" Buttons in the remind-me-later dialog
This commit is contained in:
commit
c58df32c87
@ -149,6 +149,16 @@ class DateTimeCompose(val bundle: Bundle) {
|
||||
)
|
||||
}
|
||||
|
||||
TextButton(
|
||||
onClick = {
|
||||
shouldDismiss.value = true
|
||||
},
|
||||
modifier = Modifier
|
||||
.weight(CUBED_PADDING)
|
||||
) {
|
||||
Text(stringResource(R.string.close))
|
||||
}
|
||||
|
||||
TextButton(
|
||||
onClick = {
|
||||
val user = userManager.currentUser.blockingGet()
|
||||
@ -165,16 +175,6 @@ class DateTimeCompose(val bundle: Bundle) {
|
||||
) {
|
||||
Text(stringResource(R.string.set))
|
||||
}
|
||||
|
||||
TextButton(
|
||||
onClick = {
|
||||
shouldDismiss.value = true
|
||||
},
|
||||
modifier = Modifier
|
||||
.weight(CUBED_PADDING)
|
||||
) {
|
||||
Text(stringResource(R.string.close))
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user