diff --git a/client/ui/qml/Pages2/PageSettingsKillSwitchExceptions.qml b/client/ui/qml/Pages2/PageSettingsKillSwitchExceptions.qml index 23f740b4..d442b60c 100644 --- a/client/ui/qml/Pages2/PageSettingsKillSwitchExceptions.qml +++ b/client/ui/qml/Pages2/PageSettingsKillSwitchExceptions.qml @@ -65,28 +65,13 @@ PageType { displayMarginEnd: 40 ScrollBar.vertical: ScrollBarType { } - - footer: AddSitePanel { - id: addSitePanel - + + footer: Item { width: listView.width - z: 10 - - enabled: root.pageEnabled - placeholderText: qsTr("IPv4 address") - - onAddClicked: function(text) { - PageController.showBusyIndicator(true) - AllowedDnsController.addDns(text) - PageController.showBusyIndicator(false) - } - - onMoreClicked: { - moreActionsDrawer.openTriggered() - } + height: addSitePanel.height } - footerPositioning: ListView.OverlayFooter + footerPositioning: ListView.InlineFooter model: SortFilterProxyModel { id: dnsFilterModel @@ -142,6 +127,27 @@ PageType { } } + AddSitePanel { + id: addSitePanel + + anchors.bottom: parent.bottom + anchors.left: parent.left + anchors.right: parent.right + + enabled: root.pageEnabled + placeholderText: qsTr("IPv4 address") + + onAddClicked: function(text) { + PageController.showBusyIndicator(true) + AllowedDnsController.addDns(text) + PageController.showBusyIndicator(false) + } + + onMoreClicked: { + moreActionsDrawer.openTriggered() + } + } + DrawerType2 { id: moreActionsDrawer