Bring projects, wikis, and teams together with AI. AppFlowy is the AI collaborative workspace where you achieve more without losing control of your data. The leading open source Notion alternative.
Dart blogconfluence-alternativecontent-managementcontent-servicesdocumentationflutternote-takingnotion-alternativeproject-managementtask-managementteam-collaborationwiki
fix: some lr issues (#7848)
Morn9353863439f2
diff --git a/frontend/appflowy_flutter/lib/core/helpers/url_launcher.dart b/frontend/appflowy_flutter/lib/core/helpers/url_launcher.dartindex 39ed4bc6bb..4ca51f8ea4 100644--- a/frontend/appflowy_flutter/lib/core/helpers/url_launcher.dart+++ b/frontend/appflowy_flutter/lib/core/helpers/url_launcher.dart@@ -39,9 +39,11 @@ Future<bool> afLaunchUri();}- // on Linux or Android, add http scheme to the url if it is not present+ // on Linux or Android or Windows, add http scheme to the url if it is not presentif ((UniversalPlatform.isLinux ||- UniversalPlatform.isAndroid) && !isURL(url, {'require_protocol': true})) {+ UniversalPlatform.isAndroid ||+ UniversalPlatform.isWindows) &&+ !isURL(url, {'require_protocol': true})) {uri = Uri.parse('https://$url');}diff --git a/frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/desktop_toolbar/link/link_edit_menu.dart b/frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/desktop_toolbar/link/link_edit_menu.dartindex 21a440461c..cb2ed52674 100644--- a/frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/desktop_toolbar/link/link_edit_menu.dart+++ b/frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/desktop_toolbar/link/link_edit_menu.dart@@ -423,6 +423,7 @@ class _LinkEditMenuState extends State<LinkEditMenu> {return;}widget.onApply.call(linkInfo);+ onDismiss();}void onConfirm() {diff --git a/frontend/appflowy_flutter/lib/workspace/presentation/home/home_stack.dart b/frontend/appflowy_flutter/lib/workspace/presentation/home/home_stack.dartindex c5d51b9050..61035f1ea7 100644--- a/frontend/appflowy_flutter/lib/workspace/presentation/home/home_stack.dart+++ b/frontend/appflowy_flutter/lib/workspace/presentation/home/home_stack.dart@@ -16,6 +16,7 @@ import 'package:appflowy/workspace/presentation/home/home_sizes.dart';import 'package:appflowy/workspace/presentation/home/navigation.dart';import 'package:appflowy/workspace/presentation/home/tabs/tabs_manager.dart';import 'package:appflowy/workspace/presentation/home/toast.dart';+import 'package:appflowy/workspace/presentation/notifications/number_red_dot.dart';import 'package:appflowy_backend/dispatch/dispatch.dart';import 'package:appflowy_backend/protobuf/flowy-folder/view.pb.dart';import 'package:appflowy_backend/protobuf/flowy-user/user_profile.pb.dart';@@ -65,14 +66,7 @@ class _HomeStackState extends State<HomeStack> with WindowListener {builder: (context, state) => Column(children: [if (UniversalPlatform.isWindows)- Column(- mainAxisSize: MainAxisSize.min,- children: [- WindowTitleBar(- leftChildren: [_buildToggleMenuButton(context)],- ),- ],- ),+ WindowTitleBar(leftChildren: [_buildToggleMenuButton(context)]),Padding(padding: EdgeInsets.only(left: widget.layout.menuSpacing),child: TabsManager(