Skip to content
Snippets Groups Projects

Release 1.0.0

1 file
+ 3
3
Compare changes
  • Side-by-side
  • Inline
@@ -43,12 +43,12 @@ public struct BackupView: View {
@@ -43,12 +43,12 @@ public struct BackupView: View {
WithViewStore(store, observe: ViewState.init) { viewStore in
WithViewStore(store, observe: ViewState.init) { viewStore in
Form {
Form {
Group {
Group {
if !viewStore.isRunning {
newBackupSection(viewStore)
}
if viewStore.isRunning || viewStore.backup != nil {
if viewStore.isRunning || viewStore.backup != nil {
backupSection(viewStore)
backupSection(viewStore)
}
}
 
if !viewStore.isRunning {
 
newBackupSection(viewStore)
 
}
}
}
.disabled(viewStore.isLoading)
.disabled(viewStore.isLoading)
.alert(
.alert(
Loading