update: fixed singapore asset

This commit is contained in:
John 2026-03-14 21:11:27 +01:00
parent ed92e2b981
commit d9f0b1ee6c

View file

@ -2046,7 +2046,7 @@ class MenuPage(Page):
show_verification_widget = True show_verification_widget = True
label_principal = None label_principal = None
elif operator_name != 'Simplified Privacy': elif operator_name != 'Simplified Privacy' and protocol.lower() == "wireguard":
if profile_obj.is_session_profile(): if profile_obj.is_session_profile():
text_color = "black" text_color = "black"
label_background = QLabel(self) label_background = QLabel(self)
@ -5239,7 +5239,7 @@ class EditorPage(Page):
l_name = f"{location_info.country_name}, {location_info.name}" if hasattr( l_name = f"{location_info.country_name}, {location_info.name}" if hasattr(
location_info, 'country_name') else "" location_info, 'country_name') else ""
if operator_name != 'Simplified Privacy' and operator_name != "": if operator_name != 'Simplified Privacy' and operator_name != "" and protocol != 'hidetor':
text_color = "white" text_color = "white"
if profile_obj and profile_obj.is_session_profile(): if profile_obj and profile_obj.is_session_profile():
text_color = "black" text_color = "black"