update: updated after enable page

This commit is contained in:
Your Name 2025-12-29 21:02:18 +01:00
parent 98d0b0f473
commit 197a9cfea1

View file

@ -2086,7 +2086,7 @@ class MenuPage(Page):
label_principal.show()
self.additional_labels.append(label_principal)
if protocol.lower() == "wireguard" and ConfigurationController.get_endpoint_verification_enabled() and operator_name == 'Simplified Privacy':
if protocol.lower() == "wireguard" and ConfigurationController.get_endpoint_verification_enabled():
if is_profile_enabled and profile_obj and profile_obj.connection and profile_obj.connection.code == 'wireguard':
verified_icon = QLabel(self)
verified_icon.setGeometry(20, 50, 100, 80)
@ -2097,7 +2097,6 @@ class MenuPage(Page):
verified_icon.show()
self.additional_labels.append(verified_icon)
if operator_name == 'Simplified Privacy':
if protocol.lower() == "hidetor" and not show_verification_widget:
if label_principal: