forked from crimera/piko
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Resource strings getting corrupted, resulting on failure to patc…
…h on revanced manager (crimera#439) * fix: test string fix * fix: add values-en-rGB Did this on phone, hope it works * fix: add import * fix: move the fix to settings patch * fix: remove test patch * fix: use appendStrings function * fix: use `appendStrings` for custom piko strings * refactor: remove new line and remove unused imports * refactor: format code
- Loading branch information
Showing
3 changed files
with
48 additions
and
30 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
package app.util | ||
|
||
inline fun measureExecutionTime(block: () -> Unit): Long { | ||
val start = System.currentTimeMillis() | ||
block() | ||
val end = System.currentTimeMillis() | ||
return end - start | ||
} |
This file contains 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