mirror of
https://github.com/simplex-chat/simplex-chat.git
synced 2026-08-03 13:20:29 +00:00
ui: align finalize migration destructive/default button colors (#3938)
* ios: align finalize migration destructive/default button colors * android
This commit is contained in:
@@ -150,7 +150,7 @@ struct MigrateFromDevice: View {
|
||||
return Alert(
|
||||
title: Text(title),
|
||||
message: Text(text),
|
||||
primaryButton: .destructive(Text("Delete")) {
|
||||
primaryButton: .default(Text("Delete")) {
|
||||
deleteChatAndDismiss()
|
||||
},
|
||||
secondaryButton: .cancel()
|
||||
|
||||
+2
-1
@@ -386,7 +386,8 @@ private fun MutableState<MigrationFromState>.FinishedView(chatDeletion: Boolean)
|
||||
confirmText = generalGetString(MR.strings.migrate_from_device_start_chat),
|
||||
onConfirm = {
|
||||
withLongRunningApi { startChatAndDismiss() }
|
||||
}
|
||||
},
|
||||
destructive = true
|
||||
)
|
||||
}
|
||||
) {}
|
||||
|
||||
Reference in New Issue
Block a user