UX tweaks to attribution, download button, allow search in release builds

This commit is contained in:
stopflock
2025-10-06 10:07:54 -05:00
parent f285a18563
commit f5aeba473b
5 changed files with 47 additions and 69 deletions
-9
View File
@@ -43,15 +43,6 @@ const bool kEnableDevelopmentModes = false; // Set to false to hide sandbox/simu
// Navigation features - set to false to hide navigation UI elements while in development
const bool kEnableNavigationFeatures = kEnableDevelopmentModes; // Hide navigation until fully implemented
/// Search availability: dev builds always, release builds only when online
bool enableSearchFeatures({required bool offlineMode}) {
if (kEnableDevelopmentModes) {
return true; // Dev builds: always allow search
} else {
return !offlineMode; // Release builds: only when online
}
}
/// Navigation availability: only dev builds, and only when online
bool enableNavigationFeatures({required bool offlineMode}) {
if (!kEnableDevelopmentModes) {