mirror of
https://github.com/Ujwal223/FocusGram.git
synced 2026-06-02 12:01:34 +02:00
5232b8b0a9
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
14 lines
552 B
Dart
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);
|
|
}
|