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

Update BackupView

parent d89f26a2
No related branches found
No related tags found
2 merge requests!110Backup improvements & example,!102Release 1.0.0
......@@ -43,12 +43,12 @@ public struct BackupView: View {
WithViewStore(store, observe: ViewState.init) { viewStore in
Form {
Group {
if !viewStore.isRunning {
newBackupSection(viewStore)
}
if viewStore.isRunning || viewStore.backup != nil {
backupSection(viewStore)
}
if !viewStore.isRunning {
newBackupSection(viewStore)
}
}
.disabled(viewStore.isLoading)
.alert(
......
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