mirror of
https://github.com/house-of-abbey/GarminHomeAssistant.git
synced 2025-07-13 16:28:30 +00:00
Review comment
Moved point of application exit for the menu item option.
This commit is contained in:
@ -106,10 +106,7 @@ class HomeAssistantTapMenuItem extends HomeAssistantMenuItem {
|
||||
//
|
||||
function onConfirm(b as Lang.Boolean) as Void {
|
||||
if (mService != null) {
|
||||
mHomeAssistantService.call(mService, mData);
|
||||
}
|
||||
if (mExit) {
|
||||
System.exit();
|
||||
mHomeAssistantService.call(mService, mData, mExit);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user