Skip to content
This repository has been archived by the owner on Feb 14, 2022. It is now read-only.

Commit

Permalink
updated action function references
Browse files Browse the repository at this point in the history
  • Loading branch information
ggoraa committed Jul 27, 2021
1 parent e3fe5a2 commit 98adefd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/view/homeView/HomeViewDelegate.mc
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,8 @@ class HomeViewDelegate extends WatchUi.BehaviorDelegate {

function onSelect() {
switch (AppStorage.getValue("StartButtonAction")) {
case 0: Actions.triggerHorn(:web); break;
case 1: if (AppStorage.runtimeDb["comm_protocolVersion"] > 2) { Actions.toggleFrontLight(:web); } else { Actions.triggerHorn(:web); } break;
case 0: Actions.triggerHorn(); break;
case 1: if (AppStorage.runtimeDb["comm_protocolVersion"] > 2) { Actions.toggleFrontLight(); } else { Actions.triggerHorn(); } break;
}
return true;
}
Expand Down

0 comments on commit 98adefd

Please sign in to comment.