Просмотр исходного кода

double Stop option in profile Pane

Robert 1 год назад
Родитель
Сommit
3db3ab6617
1 измененных файлов с 3 добавлено и 3 удалено
  1. 3 3
      FreeAPS/Sources/Modules/Home/View/HomeRootView.swift

+ 3 - 3
FreeAPS/Sources/Modules/Home/View/HomeRootView.swift

@@ -664,20 +664,20 @@ extension Home {
                     }
                 }.padding(.horizontal, 10)
                     .confirmationDialog("Adjustment to Cancel", isPresented: $showCancelConfirmDialog) {
-                        Button("Cancel Override") {
+                        Button("Stop Override") {
                             Task {
                                 guard let objectID = latestOverride.first?.objectID else { return }
                                 await state.cancelOverride(withID: objectID)
                             }
                         }
-                        Button("Cancel Temp Target") {
+                        Button("Stop Temp Target") {
                             Task {
                                 guard let objectID = latestTempTarget.first?.objectID else { return }
                                 await state.cancelTempTarget(withID: objectID)
                             }
                         }
                     } message: {
-                        Text("Select Adjustment to Cancel")
+                        Text("Select Adjustment")
                     }
 
             }.padding(.horizontal, 10).padding(.bottom, UIDevice.adjustPadding(min: nil, max: 10))