Przeglądaj źródła

enable use of rPi DASH simulator for testing

marionbarker 1 rok temu
rodzic
commit
6ce4c832fe

+ 2 - 1
LoopFollow/BackgroundRefresh/BackgroundRefreshType.swift

@@ -65,7 +65,8 @@ enum BackgroundRefreshType: String, Codable, CaseIterable {
 
         case .omnipodDash:
             if let name = device.name {
-                return name == "TWI BOARD"
+                // actual DASH or rPi DASH simulator
+                return name == "TWI BOARD" || name == " :: Fake POD ::"
             }
             return false