mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2024-08-30 18:12:39 +00:00
chore: enable cloud setting on mobile (#4060)
* chore: enable cloud setting on mobile * chore: disable ansi * chore: bump up client api * chore: bump up client api
This commit is contained in:
@ -8,6 +8,7 @@ import 'package:appflowy/mobile/presentation/database/mobile_calendar_screen.dar
|
||||
import 'package:appflowy/mobile/presentation/database/mobile_grid_screen.dart';
|
||||
import 'package:appflowy/mobile/presentation/favorite/mobile_favorite_page.dart';
|
||||
import 'package:appflowy/mobile/presentation/presentation.dart';
|
||||
import 'package:appflowy/mobile/presentation/setting/cloud/appflowy_cloud_page.dart';
|
||||
import 'package:appflowy/mobile/presentation/setting/font/font_picker_screen.dart';
|
||||
import 'package:appflowy/mobile/presentation/setting/language/language_picker_screen.dart';
|
||||
import 'package:appflowy/plugins/base/color/color_picker_screen.dart';
|
||||
@ -48,6 +49,7 @@ GoRouter generateRouter(Widget child) {
|
||||
_mobileHomeSettingPageRoute(),
|
||||
_mobileSettingPrivacyPolicyPageRoute(),
|
||||
_mobileSettingUserAgreementPageRoute(),
|
||||
_mobileCloudSettingAppFlowyCloudPageRoute(),
|
||||
|
||||
// view page
|
||||
_mobileEditorScreenRoute(),
|
||||
@ -216,6 +218,16 @@ GoRoute _mobileSettingPrivacyPolicyPageRoute() {
|
||||
);
|
||||
}
|
||||
|
||||
GoRoute _mobileCloudSettingAppFlowyCloudPageRoute() {
|
||||
return GoRoute(
|
||||
parentNavigatorKey: AppGlobals.rootNavKey,
|
||||
path: AppFlowyCloudPage.routeName,
|
||||
pageBuilder: (context, state) {
|
||||
return const MaterialPage(child: AppFlowyCloudPage());
|
||||
},
|
||||
);
|
||||
}
|
||||
|
||||
GoRoute _mobileSettingUserAgreementPageRoute() {
|
||||
return GoRoute(
|
||||
parentNavigatorKey: AppGlobals.rootNavKey,
|
||||
|
@ -51,6 +51,7 @@ AppFlowyConfiguration _makeAppFlowyConfiguration(
|
||||
required Map<String, String> rustEnvs,
|
||||
}) {
|
||||
final env = getIt<AppFlowyCloudSharedEnv>();
|
||||
rustEnvs["RUST_LOG"] = 'trace';
|
||||
return AppFlowyConfiguration(
|
||||
root: root,
|
||||
custom_app_path: customAppPath,
|
||||
|
Reference in New Issue
Block a user