mirror of
https://github.com/venera-app/venera.git
synced 2025-09-27 07:47:24 +00:00
cloudflare verification
This commit is contained in:
@@ -326,9 +326,6 @@ class _SettingsPageState extends State<SettingsPage> implements PopEntry {
|
||||
@override
|
||||
ValueListenable<bool> get canPopNotifier => canPop;
|
||||
|
||||
/*
|
||||
flutter >=3.24.0 api
|
||||
|
||||
@override
|
||||
void onPopInvokedWithResult(bool didPop, result) {
|
||||
if (currentPage != -1) {
|
||||
@@ -346,15 +343,4 @@ class _SettingsPageState extends State<SettingsPage> implements PopEntry {
|
||||
});
|
||||
}
|
||||
}
|
||||
*/
|
||||
|
||||
// flutter <3.24.0 api
|
||||
@override
|
||||
PopInvokedCallback? get onPopInvoked => (bool didPop) {
|
||||
if (currentPage != -1) {
|
||||
setState(() {
|
||||
currentPage = -1;
|
||||
});
|
||||
}
|
||||
};
|
||||
}
|
||||
|
Reference in New Issue
Block a user