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:
Marcel Hibbe 2025-01-28 11:42:34 +01:00 committed by GitHub
commit c58df32c87
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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))
}
}
}