Quellcode durchsuchen

return properties in MealSettingsRootView to their proper place

Mike Plante vor 1 Jahr
Ursprung
Commit
8b48d47589
1 geänderte Dateien mit 13 neuen und 13 gelöschten Zeilen
  1. 13 13
      FreeAPS/Sources/Modules/MealSettings/View/MealSettingsRootView.swift

+ 13 - 13
FreeAPS/Sources/Modules/MealSettings/View/MealSettingsRootView.swift

@@ -370,21 +370,21 @@ extension MealSettings {
                             }
                         }
                     )
-                    .sheet(isPresented: $shouldDisplayHint) {
-                        SettingInputHintView(
-                            hintDetent: $hintDetent,
-                            shouldDisplayHint: $shouldDisplayHint,
-                            hintLabel: hintLabel ?? "",
-                            hintText: selectedVerboseHint ?? AnyView(EmptyView()),
-                            sheetTitle: "Help"
-                        )
-                    }
-                    .scrollContentBackground(.hidden).background(color)
-                    .onAppear(perform: configureView)
-                    .navigationBarTitle("Meal Settings")
-                    .navigationBarTitleDisplayMode(.automatic)
                 }
             }
+            .sheet(isPresented: $shouldDisplayHint) {
+                SettingInputHintView(
+                    hintDetent: $hintDetent,
+                    shouldDisplayHint: $shouldDisplayHint,
+                    hintLabel: hintLabel ?? "",
+                    hintText: selectedVerboseHint ?? AnyView(EmptyView()),
+                    sheetTitle: "Help"
+                )
+            }
+            .scrollContentBackground(.hidden).background(color)
+            .onAppear(perform: configureView)
+            .navigationBarTitle("Meal Settings")
+            .navigationBarTitleDisplayMode(.automatic)
         }
     }
 }