refactoring: moved IsProtocolSelectionSupported to apiAccountInfoModel

This commit is contained in:
vladimir.kuznetsov 2025-07-03 09:57:05 +08:00
parent 98c4389445
commit 7e3aa443a2
6 changed files with 19 additions and 18 deletions

View file

@ -168,7 +168,7 @@ PageType {
Layout.rightMargin: 16
Layout.leftMargin: 16
visible: ApiConfigsController.isProtocolSelectionSupported()
visible: ApiAccountInfoModel.data("isProtocolSelectionSupported")
text: qsTr("Use VLESS protocol")
checked: switcher.isVlessProtocol