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

Normal font weight makes is more clear in light mode.

Jon Mårtensson 3 лет назад
Родитель
Сommit
2e3d535fe5
1 измененных файлов с 2 добавлено и 2 удалено
  1. 2 2
      FreeAPS/Sources/Modules/AddCarbs/View/AddCarbsRootView.swift

+ 2 - 2
FreeAPS/Sources/Modules/AddCarbs/View/AddCarbsRootView.swift

@@ -117,7 +117,7 @@ extension AddCarbs {
 
 
         @ViewBuilder private func proteinAndFat() -> some View {
         @ViewBuilder private func proteinAndFat() -> some View {
             HStack {
             HStack {
-                Text("Protein").foregroundColor(.red).fontWeight(.thin)
+                Text("Protein").foregroundColor(.red) // .fontWeight(.thin)
                 Spacer()
                 Spacer()
                 DecimalTextField(
                 DecimalTextField(
                     "0",
                     "0",
@@ -130,7 +130,7 @@ extension AddCarbs {
                 Text("grams").foregroundColor(.secondary)
                 Text("grams").foregroundColor(.secondary)
             }
             }
             HStack {
             HStack {
-                Text("Fat").foregroundColor(.orange).fontWeight(.thin)
+                Text("Fat").foregroundColor(.orange) // .fontWeight(.thin)
                 Spacer()
                 Spacer()
                 DecimalTextField(
                 DecimalTextField(
                     "0",
                     "0",