Bläddra i källkod

Do not show TRC for the Main branch

Jonas Björkert 1 år sedan
förälder
incheckning
02c388d221
1 ändrade filer med 2 tillägg och 1 borttagningar
  1. 2 1
      LoopFollow/Remote/Settings/RemoteSettingsView.swift

+ 2 - 1
LoopFollow/Remote/Settings/RemoteSettingsView.swift

@@ -45,7 +45,8 @@ struct RemoteSettingsView: View {
                         Text("Nightscout").tag(RemoteType.nightscout)
                         Text("Nightscout").tag(RemoteType.nightscout)
                         if BuildDetails.default.branch?.lowercased() != "main" {
                         if BuildDetails.default.branch?.lowercased() != "main" {
                             Text("Trio Remote Control").tag(RemoteType.trc)
                             Text("Trio Remote Control").tag(RemoteType.trc)
-                        }                    }
+                        }
+                    }
                     .pickerStyle(MenuPickerStyle())
                     .pickerStyle(MenuPickerStyle())
 
 
                     Text("Nightscout is the only option available for the released version of Trio.")
                     Text("Nightscout is the only option available for the released version of Trio.")