Skip to content
Snippets Groups Projects
Commit 8b436846 authored by Dariusz Rybicki's avatar Dariusz Rybicki
Browse files

Update RestoreView

parent 62c8a894
No related branches found
No related tags found
2 merge requests!112Restore contacts from backup,!102Release 1.0.0
......@@ -126,6 +126,7 @@ public struct RestoreView: View {
} header: {
Text("Restore")
}
.disabled(viewStore.isRestoring)
if !viewStore.restoreFailures.isEmpty {
Section {
......@@ -162,7 +163,7 @@ public struct RestoreView_Previews: PreviewProvider {
focusedField: nil,
isImportingFile: false,
passphrase: "",
isRestoring: false
isRestoring: true
),
reducer: .empty,
environment: ()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment