new gesture/toolbar actions
This commit is contained in:
@@ -162,6 +162,12 @@ enum GestureAction {
|
||||
),
|
||||
|
||||
// Open
|
||||
showHome(
|
||||
'Home',
|
||||
'Open the home screen',
|
||||
Icons.home_outlined,
|
||||
GestureActionCategory.open,
|
||||
),
|
||||
showHistory(
|
||||
'History',
|
||||
'Open browsing history',
|
||||
@@ -176,6 +182,12 @@ enum GestureAction {
|
||||
),
|
||||
|
||||
// App
|
||||
toggleTabBar(
|
||||
'Hide / Show Tab Bar',
|
||||
'Hide the tab bar, or bring it back',
|
||||
MdiIcons.dockBottom,
|
||||
GestureActionCategory.app,
|
||||
),
|
||||
moveToBackground(
|
||||
'Minimize',
|
||||
'Send WebLibre to the background',
|
||||
|
||||
@@ -259,8 +259,10 @@ const _$GestureActionEnumMap = {
|
||||
GestureAction.decreaseFontSize: 'decreaseFontSize',
|
||||
GestureAction.toggleBookmark: 'toggleBookmark',
|
||||
GestureAction.translatePage: 'translatePage',
|
||||
GestureAction.showHome: 'showHome',
|
||||
GestureAction.showHistory: 'showHistory',
|
||||
GestureAction.showBookmarks: 'showBookmarks',
|
||||
GestureAction.toggleTabBar: 'toggleTabBar',
|
||||
GestureAction.moveToBackground: 'moveToBackground',
|
||||
GestureAction.quitBrowser: 'quitBrowser',
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user