Skip to content
This repository was archived by the owner on Oct 26, 2024. It is now read-only.

Commit fcabebf

Browse files
authored
feat: swipe-controls rewrite (#64)
* rewrite swipe controls without deep hooks + merge changes + refactor class names * fix gesture detection behaviour * add option to disable press-to-swipe * add config options related to swipe * restore default device brightness when exiting fullscreen player fixes https://github.com/revanced/revanced-patches/issues/128 * set to default brightness after reaching 0% * block swipe-to-dismiss when not using press-to-swipe * fix: TouchThiefLayout potentially attaches multiple times * remove last references to 'fenster' name * move updatePlayerType hook into its own patch * refactor 'swipe-controls' patch * make feedback text backgrond semi-transparent * update swipe-controls overlay * fix swipe-controls leaking host activity context * fix saved screen brightness resetting between videos * fix crash on re-enter activity * make overlay more configurable * add settings to revanced_prefs.xml
1 parent 376ffc0 commit fcabebf

32 files changed

Lines changed: 1084 additions & 652 deletions

app/src/main/java/app/revanced/integrations/fenster/FensterEnablement.kt

Lines changed: 0 additions & 33 deletions
This file was deleted.

app/src/main/java/app/revanced/integrations/fenster/WatchWhilePlayerType.kt

Lines changed: 0 additions & 27 deletions
This file was deleted.

app/src/main/java/app/revanced/integrations/fenster/controllers/FensterController.kt

Lines changed: 0 additions & 243 deletions
This file was deleted.

0 commit comments

Comments
 (0)