Skip to content

Commit

Permalink
fix: update shortcut alt+N -> option+N on macOS (#87)
Browse files Browse the repository at this point in the history
  • Loading branch information
XMLHexagram authored Nov 20, 2024
1 parent 35509be commit 4d820b9
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import 'dart:io' show Platform;

import 'package:flutter/services.dart';
import 'package:provider/provider.dart';
import 'package:fluent_ui/fluent_ui.dart';
Expand Down Expand Up @@ -448,7 +450,9 @@ List<ControllerEntry> controllerItems = [
mainAxisAlignment: MainAxisAlignment.spaceBetween,
children: [
Text(S.of(context).coverWall),
const ShortcutText('Alt+N'),
ShortcutText(
Platform.isMacOS ? '⌥+N' : 'Alt+N'
),
],
),
onPressed: () {
Expand Down

0 comments on commit 4d820b9

Please sign in to comment.