From 41379907f2c5fa6b76fe5199e6bdcfffc7b37440 Mon Sep 17 00:00:00 2001 From: Narasimha-sc <166327228+Narasimha-sc@users.noreply.github.com> Date: Thu, 9 Jul 2026 22:36:32 +0000 Subject: [PATCH] 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. --- apps/ios/Shared/Views/Database/DatabaseView.swift | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/apps/ios/Shared/Views/Database/DatabaseView.swift b/apps/ios/Shared/Views/Database/DatabaseView.swift index 278893a669..051ed9f037 100644 --- a/apps/ios/Shared/Views/Database/DatabaseView.swift +++ b/apps/ios/Shared/Views/Database/DatabaseView.swift @@ -252,6 +252,11 @@ struct DatabaseView: View { runChatToggleView() } .modifier(ThemedBackground(grouped: true)) + .overlay { + if progressIndicator { + ProgressView().scaleEffect(2) + } + } } private func databaseAlert(_ alertItem: DatabaseAlert) -> Alert {