From 21d56f89b392982154dd3684070b9cd4d83d89e3 Mon Sep 17 00:00:00 2001 From: TheJeterLP Date: Thu, 21 Jul 2022 18:08:33 +0200 Subject: [PATCH] fix: wrong naming of ForceDisableCaptions (#93) --- ...ceDisableCaptions.java => ForceDisableCaptionsPatch.java} | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) rename app/src/main/java/app/revanced/integrations/patches/{ForceDisableCaptions.java => ForceDisableCaptionsPatch.java} (75%) diff --git a/app/src/main/java/app/revanced/integrations/patches/ForceDisableCaptions.java b/app/src/main/java/app/revanced/integrations/patches/ForceDisableCaptionsPatch.java similarity index 75% rename from app/src/main/java/app/revanced/integrations/patches/ForceDisableCaptions.java rename to app/src/main/java/app/revanced/integrations/patches/ForceDisableCaptionsPatch.java index 795dea82..47e7d3fc 100644 --- a/app/src/main/java/app/revanced/integrations/patches/ForceDisableCaptions.java +++ b/app/src/main/java/app/revanced/integrations/patches/ForceDisableCaptionsPatch.java @@ -2,9 +2,8 @@ package app.revanced.integrations.patches; import app.revanced.integrations.settings.SettingsEnum; -public class ForceDisableCaptions { - - //ToDo: Write Patch for it +public class ForceDisableCaptionsPatch { + public static boolean captionsEnabled() { return SettingsEnum.CAPTIONS_ENABLED.getBoolean(); }