mirror of
https://github.com/simplex-chat/simplex-chat.git
synced 2026-07-28 07:49:50 +00:00
ios: allow export of unencrypted database (#1097)
This commit is contained in:
@@ -100,7 +100,7 @@ struct DatabaseView: View {
|
||||
}
|
||||
settingsRow("square.and.arrow.up") {
|
||||
Button("Export database") {
|
||||
if initialRandomDBPassphraseGroupDefault.get() {
|
||||
if initialRandomDBPassphraseGroupDefault.get() && !unencrypted {
|
||||
alert = .exportProhibited
|
||||
} else {
|
||||
exportArchive()
|
||||
|
||||
Reference in New Issue
Block a user