From 8b651aff0f329c075a48961a74ff5bdc0976d452 Mon Sep 17 00:00:00 2001 From: SimplifiedPrivacy Date: Sat, 17 Oct 2026 17:27:53 -0400 Subject: [PATCH] Remove pointless popup messages when its just navigating --- gui/v2/actions/menu_coordinator.py | 2 +- gui/v2/ui/pages/id_page.py | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/gui/v2/actions/menu_coordinator.py b/gui/v2/actions/menu_coordinator.py index c71b864..53d629c 100644 --- a/gui/v2/actions/menu_coordinator.py +++ b/gui/v2/actions/menu_coordinator.py @@ -36,7 +36,7 @@ def get_profile(profile_id: int): @register_action(ResultError.SUBSCRIPTION) def navigate_to_new_sub_page() -> Result: - return Result(valid=False, error_type=ResultError.NAVIGATE_TO, navigate_to="id", message="No subscription. Pick a payment method.") + return Result(valid=False, error_type=ResultError.NAVIGATE_TO, navigate_to="id") @register_action(ResultError.EXPIRED_SUB) diff --git a/gui/v2/ui/pages/id_page.py b/gui/v2/ui/pages/id_page.py index 94e4eab..9608669 100755 --- a/gui/v2/ui/pages/id_page.py +++ b/gui/v2/ui/pages/id_page.py @@ -178,7 +178,8 @@ class IdPage(Page): # print(f"billing_code is {billing_code}") self.custom_window.navigator.navigate("duration_selection") else: - self.show_a_popup(str(result.message)) + if result.message: + self.show_a_popup(str(result.message)) def go_multiple_profiles(self):