mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2024-08-30 18:12:39 +00:00
feat: refactor app bar (#4539)
* feat: refactor appbar * fix: flutter analyze
This commit is contained in:
@ -50,7 +50,6 @@ GoRouter generateRouter(Widget child) {
|
||||
if (PlatformExtension.isMobile) ...[
|
||||
// settings
|
||||
_mobileHomeSettingPageRoute(),
|
||||
_mobileSettingUserAgreementPageRoute(),
|
||||
_mobileCloudSettingAppFlowyCloudPageRoute(),
|
||||
_mobileLaunchSettingsPageRoute(),
|
||||
|
||||
@ -209,16 +208,6 @@ GoRoute _mobileCloudSettingAppFlowyCloudPageRoute() {
|
||||
);
|
||||
}
|
||||
|
||||
GoRoute _mobileSettingUserAgreementPageRoute() {
|
||||
return GoRoute(
|
||||
parentNavigatorKey: AppGlobals.rootNavKey,
|
||||
path: UserAgreementPage.routeName,
|
||||
pageBuilder: (context, state) {
|
||||
return const MaterialPage(child: UserAgreementPage());
|
||||
},
|
||||
);
|
||||
}
|
||||
|
||||
GoRoute _mobileLaunchSettingsPageRoute() {
|
||||
return GoRoute(
|
||||
parentNavigatorKey: AppGlobals.rootNavKey,
|
||||
|
Reference in New Issue
Block a user