Skip to content

Commit

Permalink
change hardware platform typo(?) should fix steel updates
Browse files Browse the repository at this point in the history
  • Loading branch information
crc-32 committed Jan 28, 2025
1 parent ef01e36 commit 412ab79
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions lib/domain/entities/hardware_platform.dart
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ enum PebbleHardwarePlatform {
pebbleOneEv2_3,
pebbleOneEv2_4,
pebbleOnePointFive,
pebbleOnePointZero,
pebbleTwoPointZero,
pebbleSnowyEvt2,
pebbleSnowyDvt,
pebbleBobbySmiles,
Expand Down Expand Up @@ -40,7 +40,7 @@ PebbleHardwarePlatform pebbleHardwarePlatformFromNumber(int? number) {
case 5:
return PebbleHardwarePlatform.pebbleOnePointFive;
case 6:
return PebbleHardwarePlatform.pebbleOnePointZero;
return PebbleHardwarePlatform.pebbleTwoPointZero;
case 7:
return PebbleHardwarePlatform.pebbleSnowyEvt2;
case 8:
Expand Down Expand Up @@ -95,7 +95,7 @@ extension PebbleHardwareData on PebbleHardwarePlatform {
return WatchType.aplite;
case PebbleHardwarePlatform.pebbleOnePointFive:
return WatchType.aplite;
case PebbleHardwarePlatform.pebbleOnePointZero:
case PebbleHardwarePlatform.pebbleTwoPointZero:
return WatchType.aplite;
case PebbleHardwarePlatform.pebbleSnowyEvt2:
return WatchType.basalt;
Expand Down Expand Up @@ -148,8 +148,8 @@ extension PebbleHardwareData on PebbleHardwarePlatform {
return "ev2_4";
case PebbleHardwarePlatform.pebbleOnePointFive:
return "v1_5";
case PebbleHardwarePlatform.pebbleOnePointZero:
return "v1_0";
case PebbleHardwarePlatform.pebbleTwoPointZero:
return "v2_0";
case PebbleHardwarePlatform.pebbleSnowyEvt2:
return "snowy_evt2";
case PebbleHardwarePlatform.pebbleSnowyDvt:
Expand Down

0 comments on commit 412ab79

Please sign in to comment.