Skip to content

Commit 176e603

Browse files
chore: Fix string typos, fix missing long/wide returnEarly/returnLate
1 parent 37db1d0 commit 176e603

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

patches/src/main/kotlin/app/revanced/util/BytecodeUtils.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1011,8 +1011,8 @@ private fun MutableMethod.overrideReturnValue(value: String, returnLate: Boolean
10111011
}
10121012

10131013
if (returnLate) {
1014-
findInstructionIndicesReversed {
1015-
opcode == RETURN || opcode == RETURN_OBJECT
1014+
findInstructionIndicesReversedOrThrow {
1015+
opcode == RETURN || opcode == RETURN_WIDE || opcode == RETURN_OBJECT
10161016
}.forEach { index ->
10171017
addInstructionsAtControlFlowLabel(index, instructions)
10181018
}

patches/src/main/resources/addresources/values/strings.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ Second \"item\" text"</string>
3838
<string name="revanced_settings_reset_color">Reset color</string>
3939
<string name="revanced_settings_color_invalid">Invalid color</string>
4040
<string name="revanced_settings_restart_title">Restart required</string>
41-
<string name="revanced_settings_restart_dialog_message">Restart the app for this change to take affect.</string>
41+
<string name="revanced_settings_restart_dialog_message">Restart the app for this change to take effect.</string>
4242
<string name="revanced_settings_restart">Restart</string>
4343
<string name="revanced_settings_import">Import</string>
4444
<string name="revanced_settings_import_copy">Copy</string>
@@ -1074,7 +1074,7 @@ Your user id is like a password and it should never be shared.
10741074
<string name="revanced_sb_segments_highlight_sum">The part of the video that most people are looking for</string>
10751075
<string name="revanced_sb_segments_intro">Intermission / Intro Animation</string>
10761076
<string name="revanced_sb_segments_intro_sum">An interval without actual content. Could be a pause, static frame, or repeating animation. Does not include transitions containing information</string>
1077-
<string name="revanced_sb_segments_outro">Endcards/Credits</string>
1077+
<string name="revanced_sb_segments_outro">Endcards / Credits</string>
10781078
<string name="revanced_sb_segments_outro_sum">Credits or when the YouTube endcards appear. Not for conclusions with information</string>
10791079
<string name="revanced_sb_segments_preview">Preview / Recap / Hook</string>
10801080
<string name="revanced_sb_segments_preview_sum">Collection of clips that show what is coming up or what happened in the video or in other videos of a series, where all information is repeated elsewhere</string>

0 commit comments

Comments
 (0)