mirror of
https://github.com/simplex-chat/simplex-chat.git
synced 2026-07-11 14:08:57 +00:00
ios: show spinner for database operations moved to sub-screen (#7228)
The settings reorganization (#7005) moved Export, Import and Start chat into the pushed "Database passphrase & export" sub-screen, but the progress spinner stayed as an overlay on the parent screen, hidden behind it. Add the same overlay to the sub-screen so the spinner is visible during these operations, matching DatabaseEncryptionView.
This commit is contained in:
@@ -252,6 +252,11 @@ struct DatabaseView: View {
|
||||
runChatToggleView()
|
||||
}
|
||||
.modifier(ThemedBackground(grouped: true))
|
||||
.overlay {
|
||||
if progressIndicator {
|
||||
ProgressView().scaleEffect(2)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private func databaseAlert(_ alertItem: DatabaseAlert) -> Alert {
|
||||
|
||||
Reference in New Issue
Block a user