mirror of
https://github.com/amnezia-vpn/amnezia-client.git
synced 2026-06-23 02:00:20 +07:00
Add settings button on PageStart
Disable some items when no Server has been set
This commit is contained in:
@@ -15,6 +15,23 @@ PageBase {
|
||||
visible: pageLoader.depth > 1
|
||||
}
|
||||
|
||||
ImageButtonType {
|
||||
anchors {
|
||||
right: parent.right
|
||||
top: parent.top
|
||||
}
|
||||
|
||||
width: 41
|
||||
height: 41
|
||||
imgMarginHover: 8
|
||||
imgMargin: 9
|
||||
icon.source: "qrc:/images/settings_grey.png"
|
||||
visible: !GeneralSettingsLogic.existsAnyServer
|
||||
onClicked: {
|
||||
UiLogic.goToPage(PageEnum.GeneralSettings)
|
||||
}
|
||||
}
|
||||
|
||||
Caption {
|
||||
id: caption
|
||||
text: start_switch_page.checked ?
|
||||
|
||||
Reference in New Issue
Block a user