cloudflare verification

This commit is contained in:
nyne
2024-10-16 10:55:57 +08:00
parent 96ae6755bd
commit d01d0b5ddb
14 changed files with 591 additions and 35 deletions

View File

@@ -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;
});
}
};
}