Merge pull request #6686 from darkdh/swipe_prefs
Swipe back/forward should respect system preferences
This commit is contained in:
commit
322fb97d8d
4 changed files with 17 additions and 0 deletions
|
@ -59,6 +59,8 @@ void SystemPreferences::BuildPrototype(
|
|||
.SetMethod("unsubscribeLocalNotification",
|
||||
&SystemPreferences::UnsubscribeLocalNotification)
|
||||
.SetMethod("getUserDefault", &SystemPreferences::GetUserDefault)
|
||||
.SetMethod("isSwipeTrackingFromScrollEventsEnabled",
|
||||
&SystemPreferences::IsSwipeTrackingFromScrollEventsEnabled)
|
||||
#endif
|
||||
.SetMethod("isDarkMode", &SystemPreferences::IsDarkMode);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue