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
This commit is part of merge request !112. Comments created here will be created in the context of that merge request.
...@@ -126,6 +126,7 @@ public struct RestoreView: View { ...@@ -126,6 +126,7 @@ public struct RestoreView: View {
} header: { } header: {
Text("Restore") Text("Restore")
} }
.disabled(viewStore.isRestoring)
if !viewStore.restoreFailures.isEmpty { if !viewStore.restoreFailures.isEmpty {
Section { Section {
...@@ -162,7 +163,7 @@ public struct RestoreView_Previews: PreviewProvider { ...@@ -162,7 +163,7 @@ public struct RestoreView_Previews: PreviewProvider {
focusedField: nil, focusedField: nil,
isImportingFile: false, isImportingFile: false,
passphrase: "", passphrase: "",
isRestoring: false isRestoring: true
), ),
reducer: .empty, reducer: .empty,
environment: () 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