mirror of
https://github.com/amnezia-vpn/amnezia-client.git
synced 2026-06-22 02:01:08 +07:00
added display of vpn containers and services on the settings page
- added PageSettingsData and implementation of 'remove all containers' button
This commit is contained in:
@@ -38,8 +38,9 @@ PageType {
|
||||
height: root.height - tabBar.implicitHeight
|
||||
|
||||
StackView {
|
||||
id: homeStackView
|
||||
initialItem: "PageHome.qml" //PageController.getPagePath(PageEnum.PageSettingsServersList)
|
||||
initialItem: PageHome {
|
||||
id: pageHome
|
||||
}
|
||||
}
|
||||
|
||||
Item {
|
||||
@@ -47,8 +48,9 @@ PageType {
|
||||
}
|
||||
|
||||
StackView {
|
||||
id: settingsStackView
|
||||
initialItem: "PageSettingsServersList.qml" //PageController.getPagePath(PageEnum.PageSettingsServersList)
|
||||
initialItem: PageSettingsServersList {
|
||||
id: pageSettingsServersList
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -72,6 +74,9 @@ PageType {
|
||||
TabImageButtonType {
|
||||
isSelected: tabBar.currentIndex === 0
|
||||
image: "qrc:/images/controls/home.svg"
|
||||
onClicked: {
|
||||
pageSettingsServersList.goToStartPage()
|
||||
}
|
||||
}
|
||||
TabImageButtonType {
|
||||
isSelected: tabBar.currentIndex === 1
|
||||
@@ -80,6 +85,9 @@ PageType {
|
||||
TabImageButtonType {
|
||||
isSelected: tabBar.currentIndex === 2
|
||||
image: "qrc:/images/controls/settings-2.svg"
|
||||
onClicked: {
|
||||
pageHome.goToStartPage()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user