mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2025-12-05 03:23:12 +00:00
fix: some lr issues (#7848)
Co-authored-by: Lucas.Xu <lucas.xu@appflowy.io>
This commit is contained in:
parent
fb33e4d5c3
commit
9353863439
@ -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 present
|
||||
if ((UniversalPlatform.isLinux ||
|
||||
UniversalPlatform.isAndroid) && !isURL(url, {'require_protocol': true})) {
|
||||
UniversalPlatform.isAndroid ||
|
||||
UniversalPlatform.isWindows) &&
|
||||
!isURL(url, {'require_protocol': true})) {
|
||||
uri = Uri.parse('https://$url');
|
||||
}
|
||||
|
||||
|
||||
@ -423,6 +423,7 @@ class _LinkEditMenuState extends State<LinkEditMenu> {
|
||||
return;
|
||||
}
|
||||
widget.onApply.call(linkInfo);
|
||||
onDismiss();
|
||||
}
|
||||
|
||||
void onConfirm() {
|
||||
|
||||
@ -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(
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user