mirror of
https://github.com/simplex-chat/simplex-chat.git
synced 2026-05-24 23:55:50 +00:00
ios: allow export of unencrypted database (#1097)
This commit is contained in:
committed by
GitHub
parent
06c7b9a995
commit
bd2a748169
@@ -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