Files
FocusGram-Android/lib/services/focusgram_router.dart
T
Ujwal 5232b8b0a9 UPDATES: updated UI from sidebar to topbar(again)
fixed external redirect on instagram m's settings.
fixed bug where it opened app session instead of reel session.
hided vertical scroll bar.
removed custom bottom bar.
fixed bug where it wasnt showing searchbar in /explore.

FIXED/ADDED/IMPROVED A LOT MORE THINGS.

Ready for Release
2026-02-24 00:04:23 +05:45

14 lines
552 B
Dart

import 'package:flutter/foundation.dart';
/// Lightweight global router for cross-widget navigation signals.
/// Used to allow the Settings page to trigger WebView navigations without
/// requiring a BuildContext reference to MainWebViewPage.
class FocusGramRouter {
FocusGramRouter._();
/// When this value is non-null, [MainWebViewPage] will load the URL
/// in the WebView and clear this value. Settings page sets this to
/// trigger in-app navigation (e.g. Instagram Settings).
static final pendingUrl = ValueNotifier<String?>(null);
}