Skip to content

Commit

Permalink
feat: swipe-controls rewrite (#64)
Browse files Browse the repository at this point in the history
* 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 ReVanced/revanced-patches#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
  • Loading branch information
shadow578 committed Jul 11, 2022
1 parent 376ffc0 commit fcabebf
Show file tree
Hide file tree
Showing 32 changed files with 1,084 additions and 652 deletions.

This file was deleted.

This file was deleted.

This file was deleted.

0 comments on commit fcabebf

Please sign in to comment.