From fe32079ab0f8d9fbe5a3dd91977512adb75dedcd Mon Sep 17 00:00:00 2001 From: Mathias Mogensen <42929161+Xazin@users.noreply.github.com> Date: Mon, 22 Apr 2024 10:04:06 +0200 Subject: [PATCH] feat: code block launch review (#5175) * feat: code block launch review * chore: test lock file change * chore: update version --- .../screens/sign_in_screen/mobile_sign_in_screen.dart | 7 ++++--- frontend/appflowy_flutter/pubspec.lock | 11 +++++------ frontend/appflowy_flutter/pubspec.yaml | 6 +----- frontend/resources/translations/en.json | 1 + 4 files changed, 11 insertions(+), 14 deletions(-) diff --git a/frontend/appflowy_flutter/lib/user/presentation/screens/sign_in_screen/mobile_sign_in_screen.dart b/frontend/appflowy_flutter/lib/user/presentation/screens/sign_in_screen/mobile_sign_in_screen.dart index c91fe35555..2e2e1e8f39 100644 --- a/frontend/appflowy_flutter/lib/user/presentation/screens/sign_in_screen/mobile_sign_in_screen.dart +++ b/frontend/appflowy_flutter/lib/user/presentation/screens/sign_in_screen/mobile_sign_in_screen.dart @@ -1,3 +1,5 @@ +import 'package:flutter/material.dart'; + import 'package:appflowy/env/cloud_env.dart'; import 'package:appflowy/generated/flowy_svgs.g.dart'; import 'package:appflowy/generated/locale_keys.g.dart'; @@ -6,7 +8,6 @@ import 'package:appflowy/user/application/sign_in_bloc.dart'; import 'package:appflowy/user/presentation/screens/sign_in_screen/widgets/widgets.dart'; import 'package:easy_localization/easy_localization.dart'; import 'package:flowy_infra_ui/flowy_infra_ui.dart'; -import 'package:flutter/material.dart'; import 'package:flutter_bloc/flutter_bloc.dart'; import 'package:go_router/go_router.dart'; @@ -111,8 +112,8 @@ class MobileSignInScreen extends StatelessWidget { Widget _buildSettingsButton(BuildContext context) { return FlowyButton( - text: const FlowyText( - 'settings', + text: FlowyText( + LocaleKeys.signIn_settings.tr(), textAlign: TextAlign.center, fontSize: 12.0, fontWeight: FontWeight.w500, diff --git a/frontend/appflowy_flutter/pubspec.lock b/frontend/appflowy_flutter/pubspec.lock index 73f566ead0..cdcf3a3a1a 100644 --- a/frontend/appflowy_flutter/pubspec.lock +++ b/frontend/appflowy_flutter/pubspec.lock @@ -61,12 +61,11 @@ packages: appflowy_editor_plugins: dependency: "direct main" description: - path: "packages/appflowy_editor_plugins" - ref: "37f35e77" - resolved-ref: "37f35e77aefb1b9a0b872086d156b1b885ba02df" - url: "https://github.com/AppFlowy-IO/appflowy-plugins.git" - source: git - version: "0.0.1" + name: appflowy_editor_plugins + sha256: "9d91f65e564f85ffc98a407524371beeb1fd40aabd621b00ba8a722058636094" + url: "https://pub.dev" + source: hosted + version: "0.0.2" appflowy_popover: dependency: "direct main" description: diff --git a/frontend/appflowy_flutter/pubspec.yaml b/frontend/appflowy_flutter/pubspec.yaml index cea3b3a5d6..cac2c95376 100644 --- a/frontend/appflowy_flutter/pubspec.yaml +++ b/frontend/appflowy_flutter/pubspec.yaml @@ -46,11 +46,7 @@ dependencies: ref: 15a3a50 appflowy_result: path: packages/appflowy_result - appflowy_editor_plugins: - git: - url: https://github.com/AppFlowy-IO/appflowy-plugins.git - path: packages/appflowy_editor_plugins - ref: "37f35e77" + appflowy_editor_plugins: ^0.0.2 appflowy_editor: diff --git a/frontend/resources/translations/en.json b/frontend/resources/translations/en.json index 4e079f5b6f..9431d804f9 100644 --- a/frontend/resources/translations/en.json +++ b/frontend/resources/translations/en.json @@ -58,6 +58,7 @@ "signInWithMagicLink": "Log in with Magic Link", "signUpWithMagicLink": "Sign up with Magic Link", "pleaseInputYourEmail": "Please enter your email address", + "settings": "Settings", "magicLinkSent": "We emailed a magic link. Click the link to log in.", "invalidEmail": "Please enter a valid email address", "alreadyHaveAnAccount": "Already have an account?",