Add Stripe donation flow
This commit is contained in:
@@ -74,6 +74,8 @@ func _run() -> void:
|
||||
_assert(main_screen.sidebar.find_child("NavPractice", true, false) == null, "the sidebar should not retain a Practice navigation item")
|
||||
var profile_nav := main_screen.sidebar.find_child("NavPerformance", true, false) as Button
|
||||
var settings_nav := main_screen.sidebar.find_child("NavSettings", true, false) as Button
|
||||
var donation_nav := main_screen.sidebar.find_child("NavDonations", true, false) as Button
|
||||
_assert(donation_nav != null and donation_nav.text == "Support MedMind", "the shell should expose donation navigation")
|
||||
_assert(profile_nav != null and settings_nav != null and profile_nav.get_index() + 1 == settings_nav.get_index(), "Profile should sit directly above Settings in the lower navigation group")
|
||||
var theme_service = root.get_node("UIThemeService")
|
||||
var prior_dark_mode: bool = theme_service.is_dark_mode()
|
||||
|
||||
Reference in New Issue
Block a user