|
|
@@ -62,7 +62,7 @@ class RemoteSettingsViewModel: ObservableObject {
|
|
|
|
|
|
// Determine if a comparison is needed and perform it.
|
|
|
switch remoteType {
|
|
|
- case .loopAPNS, .trc:
|
|
|
+ case .trc:
|
|
|
// For both Loop and TRC, the target Team ID is in the same storage location.
|
|
|
// If the target ID is empty, there's nothing to compare.
|
|
|
guard !targetTeamId.isEmpty else {
|
|
|
@@ -71,7 +71,7 @@ class RemoteSettingsViewModel: ObservableObject {
|
|
|
// Return true if the IDs are different.
|
|
|
return loopFollowTeamID != targetTeamId
|
|
|
|
|
|
- case .none, .nightscout:
|
|
|
+ case .loopAPNS, .none, .nightscout:
|
|
|
// For other remote types, this check is not applicable.
|
|
|
return false
|
|
|
}
|