@@ -26,7 +26,8 @@ ApplicationWindow {
2626 onTriggered: {
2727 console .log (" Orientation changed" )
2828 console .log (" safe margins =" , JSON .stringify (tools .getSafeAreaMargins (window )))
29- notchTop = tools .getSafeAreaMargins (window )[" top" ]
29+ // notchTop = tools.getSafeAreaMargins(window)["top"]
30+ notchTop = 0
3031 notchLeft = tools .getSafeAreaMargins (window )[" left" ]
3132 notchRight = tools .getSafeAreaMargins (window )[" right" ]
3233 safeWidth = window .width - tools .getSafeAreaMargins (window )[" left" ] - tools .getSafeAreaMargins (window )[" right" ]
@@ -40,7 +41,7 @@ ApplicationWindow {
4041
4142 Component .onCompleted : {
4243 tm .switchToLanguage (settings .language )
43- notchTop = tools .getSafeAreaMargins (window )[" top" ] // iPhoneX workaround
44+ // notchTop = tools.getSafeAreaMargins(window)["top"] // iPhoneX workaround
4445
4546 console .log (" load settings.language:" + settings .language )
4647 console .log (" safe margins =" , JSON .stringify (tools .getSafeAreaMargins (window )))
@@ -116,7 +117,8 @@ ApplicationWindow {
116117 header: ToolBar {
117118 contentHeight: toolButton .implicitHeight + notchTop // iPhone X Workaround
118119
119- Material .primary : Material .BlueGrey
120+ // Material.primary: Material.BlueGrey
121+ Material .primary : Material .color (Material .BlueGrey , Material .Shade500 )
120122
121123 ToolButton {
122124 id: toolButton
@@ -234,6 +236,7 @@ ApplicationWindow {
234236 }
235237
236238 ListElement {
239+ pageCommand: " repeater"
237240 pageTitle: qsTr (" Add Repeater QSO" )
238241 pageIcon: " \uf055 "
239242 onTriggered : function () {
0 commit comments