mirror of
https://github.com/wgh136/pixes.git
synced 2025-09-27 12:57:24 +00:00
add shortcuts
This commit is contained in:
@@ -319,6 +319,14 @@ class _IllustPageState extends State<IllustPage> {
|
||||
_bottomBarController.download();
|
||||
case 6:
|
||||
_bottomBarController.follow();
|
||||
case 7:
|
||||
if (ModalRoute.of(context)?.isCurrent ?? true) {
|
||||
CommentsPage.show(context, widget.illust.id.toString());
|
||||
} else {
|
||||
context.pop();
|
||||
}
|
||||
case 8:
|
||||
openImage(0);
|
||||
}
|
||||
}
|
||||
|
||||
|
@@ -592,6 +592,8 @@ class _ShortcutsSettingsState extends State<ShortcutsSettings> {
|
||||
"Add to favorites",
|
||||
"Download",
|
||||
"Follow the artist",
|
||||
"Show comments",
|
||||
"Show original image"
|
||||
];
|
||||
|
||||
@override
|
||||
|
Reference in New Issue
Block a user