Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/main'
Browse files Browse the repository at this point in the history
  • Loading branch information
weblate committed May 2, 2023
2 parents eb1ac69 + ddea600 commit 03672e7
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
import 'dart:io';
import 'dart:ui';

import 'package:flutter/foundation.dart';
import 'package:flutter/material.dart';
import 'package:flutter/services.dart';
import 'package:flutter_hooks/flutter_hooks.dart';
Expand Down Expand Up @@ -78,8 +79,8 @@ class QuickSearchShortcutWrapper extends StatelessWidget {
shortcuts: {
SingleActivator(
LogicalKeyboardKey.keyP,
control: !Platform.isMacOS,
meta: Platform.isMacOS,
control: kIsWeb || !Platform.isMacOS,
meta: kIsWeb ? false : Platform.isMacOS,
): ShowQuickOpenIntent(),
const SingleActivator(LogicalKeyboardKey.escape): HideQuickOpenIntent(),
},
Expand Down

0 comments on commit 03672e7

Please sign in to comment.