From 81e2169f482eb4d50bfd761b1b6c5b6ce7075437 Mon Sep 17 00:00:00 2001 From: inotia00 Date: Mon, 25 Sep 2023 11:35:36 +0900 Subject: [PATCH] fix(youtube/settings): minor refactoring --- .../utils/settings/bytecode/patch/SettingsBytecodePatch.kt | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/kotlin/app/revanced/patches/youtube/utils/settings/bytecode/patch/SettingsBytecodePatch.kt b/src/main/kotlin/app/revanced/patches/youtube/utils/settings/bytecode/patch/SettingsBytecodePatch.kt index 4df04833b..eb95626f5 100644 --- a/src/main/kotlin/app/revanced/patches/youtube/utils/settings/bytecode/patch/SettingsBytecodePatch.kt +++ b/src/main/kotlin/app/revanced/patches/youtube/utils/settings/bytecode/patch/SettingsBytecodePatch.kt @@ -43,6 +43,7 @@ class SettingsBytecodePatch : BytecodePatch( } } ?: throw ThemeSetterSystemFingerprint.exception + context.injectInit("InitializationPatch", "setDeviceInformation", true) context.injectInit("InitializationPatch", "initializeReVancedSettings", true) }