Skip to content

Commit 5eebfd3

Browse files
committed
Merge PR #1890
2 parents eb2823e + 664b077 commit 5eebfd3

18 files changed

+1032
-276
lines changed

lib/about_page.dart

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ import 'android/state.dart';
2626
import 'app/app_url_launcher.dart';
2727
import 'app/logging.dart';
2828
import 'app/message.dart';
29+
import 'app/shortcuts.dart';
2930
import 'app/state.dart';
3031
import 'app/views/keys.dart';
3132
import 'core/state.dart';
@@ -143,6 +144,21 @@ class AboutPage extends ConsumerWidget {
143144
),
144145
),
145146
),
147+
if (isDesktop)
148+
TextButton(
149+
onPressed: () {
150+
Navigator.of(
151+
context,
152+
).popUntil((route) => route.isFirst);
153+
Actions.maybeInvoke(context, ShortcutsIntent());
154+
},
155+
child: Text(
156+
l10n.s_shortcuts,
157+
style: const TextStyle(
158+
decoration: TextDecoration.underline,
159+
),
160+
),
161+
),
146162
],
147163
),
148164
const Padding(

0 commit comments

Comments
 (0)