Created
November 12, 2021 03:35
-
-
Save 0cyn/cdc62e91911d44126be35707bb5d3791 to your computer and use it in GitHub Desktop.
Request from a discord user
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // kat was also here | |
| static bool isHomePlusEditing = NO; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // kat was here | |
| #include <Foundation.h> | |
| #include "HomePlusIsEditing.h" | |
| %hook HPUIManager | |
| - (void)showEditorView | |
| { | |
| // call %orig first so the snappiness of my animations are preserved. | |
| %orig(); | |
| isHomePlusEditing = YES; | |
| } | |
| - (void)hideEditorView | |
| { | |
| %orig(); | |
| isHomePlusEditing = NO; | |
| } | |
| %end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment