~ubuntu-clock-dev/ubuntu-clock-app/reboot-packaging

« back to all changes in this revision

Viewing changes to app/clock/MainClock.qml

Bare working version

Show diffs side-by-side

added added

removed removed

Lines of Context:
50
50
        ScriptAction {
51
51
            script: {
52
52
                if (isDigital) {
53
 
                    digitalModeLoader.setSource("../components/DigitalMode.qml",
54
 
                                                {
55
 
                                                    "maxWidth": units.gu(23),
56
 
                                                    "maxTimeFontSize": units.dp(62),
57
 
                                                    "maxPeriodFontSize": units.dp(12),
58
 
                                                })
 
53
                    digitalModeLoader.setSource
 
54
                            ("../components/DigitalMode.qml",
 
55
                             {
 
56
                                 "maxWidth": units.gu(23),
 
57
                                 "maxTimeFontSize": units.dp(62),
 
58
                                 "maxPeriodFontSize": units.dp(12),
 
59
                             })
59
60
                }
60
61
                else {
61
 
                    analogModeLoader.setSource("../components/AnalogMode.qml",
62
 
                                               {"maxWidth": units.gu(23)})
 
62
                    analogModeLoader.setSource
 
63
                            ("../components/AnalogMode.qml",
 
64
                             {"maxWidth": units.gu(23)})
63
65
                }
64
66
            }
65
67
        }