ui(dialogs): pad title away from cancel; LoTW buttons bottom corners

- SharedDialog title gets start padding when only a cancel button is shown
  (was flush against it); dialogs with both buttons unchanged.
- LoTW dialog: full-sync button bottom-left, incremental-merge bottom-right
  (SpaceBetween instead of side-by-side).
This commit is contained in:
atsunatsu committed 2026-09-16 16:53:50 +08:00
1 parent 0ce177cfbf
commit 45fe755470
2 files changed
+6 -2

No files matched your search

@@ -375,7 +375,10 @@ fun SharedDialog(
overflow = TextOverflow.Ellipsis,
modifier = Modifier
.weight(1f)
.padding(horizontal = if (onCancel != null && onAccept != null) padding else 0.dp)
.padding(
start = if (onCancel != null) padding else 0.dp,
end = if (onAccept != null) padding else 0.dp
)
)
if (onAccept != null) {
CardButton(