summaryrefslogtreecommitdiff
path: root/source/MazarineApp.mc
blob: afe80493e1d9d368a86b3463ee23d53ca1f55a5c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
// Mazarine
//
// Copyright (C) 2019 cy384, 2020 cos
// All rights reserved.
//
// This software may be modified and distributed under the terms
// of the BSD license. See the LICENSE file for details.

// Settings are not possible:
// https://stackoverflow.com/q/34583358/how-to-have-settings-for-connectiq-watch-app
// https://forums.garmin.com/developer/connect-iq/f/discussion/2810/watch-face-settings-for-watch-faces-uploaded-directly

using Toybox.Application;
using Toybox.WatchUi;

class MazarineApp extends Application.AppBase {
    function initialize() {
        AppBase.initialize();
    }

    function onStart(_) { }

    function onStop(_) { }

    function getInitialView() {
        return [new MazarineView()];
    }

    function onSettingsChanged() {
        WatchUi.requestUpdate();
    }
}