mirror of
https://github.com/jonasbark/swiftcontrol.git
synced 2026-11-29 09:11:17 +01:00
fix grade logic
This commit is contained in:
@@ -366,7 +366,7 @@ class ProxyDevice extends BluetoothDevice {
|
||||
} else {
|
||||
final didChange = def.shiftUp();
|
||||
return didChange
|
||||
? NotHandled(l10n.trainerShiftedUp(def.currentGear.value))
|
||||
? Ignored(l10n.trainerShiftedUp(def.currentGear.value))
|
||||
: Ignored(l10n.trainerAlreadyHighestGear);
|
||||
}
|
||||
case InGameAction.shiftDown:
|
||||
@@ -377,7 +377,7 @@ class ProxyDevice extends BluetoothDevice {
|
||||
} else {
|
||||
final didChange = def.shiftDown();
|
||||
return didChange
|
||||
? NotHandled(l10n.trainerShiftedDown(def.currentGear.value))
|
||||
? Ignored(l10n.trainerShiftedDown(def.currentGear.value))
|
||||
: Ignored(l10n.trainerAlreadyLowestGear);
|
||||
}
|
||||
case InGameAction.trainerSwitchMode:
|
||||
|
||||
2
prop
2
prop
Submodule prop updated: d2704666e7...1adbd33b78
Reference in New Issue
Block a user