Skip to content

Commit

Permalink
Do not show TRC for the Main branch
Browse files Browse the repository at this point in the history
  • Loading branch information
bjorkert committed Dec 18, 2024
1 parent afa3478 commit 1e1910b
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions LoopFollow/Remote/Settings/RemoteSettingsView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,9 @@ struct RemoteSettingsView: View {
Picker("Remote Type", selection: $viewModel.remoteType) {
Text("None").tag(RemoteType.none)
Text("Nightscout").tag(RemoteType.nightscout)
Text("Trio Remote Control").tag(RemoteType.trc)
}
if BuildDetails.default.branch?.lowercased() != "main" {
Text("Trio Remote Control").tag(RemoteType.trc)
} }
.pickerStyle(MenuPickerStyle())

Text("Nightscout is the only option available for the released version of Trio.")
Expand Down

0 comments on commit 1e1910b

Please sign in to comment.