bugfix/minor-ui-fixes (#1363)
* bugfix: fixed amfree availability display * bugfix: fixed selection of exported config type * chore: hide ad label * chore: hide ampremium for mobile platforms
This commit is contained in:
parent
1cfa4e0630
commit
665a2911be
3 changed files with 27 additions and 14 deletions
|
@ -20,8 +20,9 @@ Rectangle {
|
|||
color: AmneziaStyle.color.transparent
|
||||
radius: 13
|
||||
|
||||
visible: GC.isDesktop() && ServersModel.isDefaultServerFromApi
|
||||
&& ServersModel.isDefaultServerDefaultContainerHasSplitTunneling && SettingsController.isHomeAdLabelVisible
|
||||
visible: false
|
||||
// visible: GC.isDesktop() && ServersModel.isDefaultServerFromApi
|
||||
// && ServersModel.isDefaultServerDefaultContainerHasSplitTunneling && SettingsController.isHomeAdLabelVisible
|
||||
|
||||
MouseArea {
|
||||
anchors.fill: parent
|
||||
|
|
|
@ -481,9 +481,11 @@ PageType {
|
|||
headerText: qsTr("Connection format")
|
||||
|
||||
listView: ListViewWithRadioButtonType {
|
||||
id: exportTypeSelectorListView
|
||||
|
||||
onCurrentIndexChanged: {
|
||||
exportTypeSelector.currentIndex = currentIndex
|
||||
exportTypeSelector.text = selectedText
|
||||
exportTypeSelector.currentIndex = exportTypeSelectorListView.selectedIndex
|
||||
exportTypeSelector.text = exportTypeSelectorListView.selectedText
|
||||
}
|
||||
|
||||
rootWidth: root.width
|
||||
|
@ -494,14 +496,14 @@ PageType {
|
|||
currentIndex: 0
|
||||
|
||||
clickedFunction: function() {
|
||||
exportTypeSelector.text = selectedText
|
||||
exportTypeSelector.currentIndex = currentIndex
|
||||
exportTypeSelector.text = exportTypeSelectorListView.selectedText
|
||||
exportTypeSelector.currentIndex = exportTypeSelectorListView.selectedIndex
|
||||
exportTypeSelector.closeTriggered()
|
||||
}
|
||||
|
||||
Component.onCompleted: {
|
||||
exportTypeSelector.text = selectedText
|
||||
exportTypeSelector.currentIndex = currentIndex
|
||||
exportTypeSelector.text = exportTypeSelectorListView.selectedText
|
||||
exportTypeSelector.currentIndex = exportTypeSelectorListView.selectedIndex
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue