import Toybox.Lang; import Toybox.WatchUi; // Allows the user to cancel GPS acquisition by pressing BACK. class LoadingDelegate extends WatchUi.BehaviorDelegate { function initialize() { BehaviorDelegate.initialize(); } function onBack() as Boolean { WatchUi.popView(WatchUi.SLIDE_RIGHT); return true; } }