mirror of
https://github.com/inotia00/revanced-patches.git
synced 2025-05-23 18:37:14 +02:00
feat(microg): minor improvement
This commit is contained in:
parent
54fbbb0f11
commit
09d5313823
@ -4,13 +4,15 @@ import app.revanced.patcher.annotation.Description
|
|||||||
import app.revanced.patcher.annotation.Name
|
import app.revanced.patcher.annotation.Name
|
||||||
import app.revanced.patcher.annotation.Version
|
import app.revanced.patcher.annotation.Version
|
||||||
import app.revanced.patcher.data.ResourceContext
|
import app.revanced.patcher.data.ResourceContext
|
||||||
import app.revanced.patcher.patch.*
|
import app.revanced.patcher.patch.PatchResult
|
||||||
|
import app.revanced.patcher.patch.PatchResultSuccess
|
||||||
|
import app.revanced.patcher.patch.ResourcePatch
|
||||||
import app.revanced.patcher.patch.annotations.Patch
|
import app.revanced.patcher.patch.annotations.Patch
|
||||||
import app.revanced.patches.microg.utils.annotations.MicroGCompatibility
|
import app.revanced.patches.microg.utils.annotations.MicroGCompatibility
|
||||||
import app.revanced.util.resources.MicroGResourceUtils.copyFiles
|
import app.revanced.util.resources.MicroGResourceUtils.copyFiles
|
||||||
|
|
||||||
@Patch
|
@Patch(false)
|
||||||
@Name("custom-branding-microg-mmt")
|
@Name("Custom branding icon MMT")
|
||||||
@Description("Changes the MicroG launcher icon to MMT.")
|
@Description("Changes the MicroG launcher icon to MMT.")
|
||||||
@MicroGCompatibility
|
@MicroGCompatibility
|
||||||
@Version("0.0.1")
|
@Version("0.0.1")
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
package app.revanced.patches.microg.layout.branding.icon.patch
|
package app.revanced.patches.microg.layout.materialyou.patch
|
||||||
|
|
||||||
import app.revanced.patcher.annotation.Description
|
import app.revanced.patcher.annotation.Description
|
||||||
import app.revanced.patcher.annotation.Name
|
import app.revanced.patcher.annotation.Name
|
||||||
@ -9,16 +9,15 @@ import app.revanced.patcher.patch.PatchResultSuccess
|
|||||||
import app.revanced.patcher.patch.ResourcePatch
|
import app.revanced.patcher.patch.ResourcePatch
|
||||||
import app.revanced.patcher.patch.annotations.Patch
|
import app.revanced.patcher.patch.annotations.Patch
|
||||||
import app.revanced.patches.microg.utils.annotations.MicroGCompatibility
|
import app.revanced.patches.microg.utils.annotations.MicroGCompatibility
|
||||||
|
|
||||||
import app.revanced.util.resources.ResourceUtils
|
import app.revanced.util.resources.ResourceUtils
|
||||||
import app.revanced.util.resources.ResourceUtils.copyResources
|
import app.revanced.util.resources.ResourceUtils.copyResources
|
||||||
|
|
||||||
@Patch(false)
|
@Patch(false)
|
||||||
@Name("microg-materialyou")
|
@Name("MaterialYou")
|
||||||
@Description("Enables MaterialYou theme for microG for Android 12+")
|
@Description("Enables MaterialYou theme for Android 12+")
|
||||||
@MicroGCompatibility
|
@MicroGCompatibility
|
||||||
@Version("0.0.1")
|
@Version("0.0.1")
|
||||||
class MicrogMaterialYouPatch : ResourcePatch {
|
class MaterialYouPatch : ResourcePatch {
|
||||||
override fun execute(context: ResourceContext): PatchResult {
|
override fun execute(context: ResourceContext): PatchResult {
|
||||||
|
|
||||||
arrayOf(
|
arrayOf(
|
@ -281,7 +281,7 @@
|
|||||||
<Preference android:title=" " android:selectable="false" android:summary="@string/pref_about_category" />
|
<Preference android:title=" " android:selectable="false" android:summary="@string/pref_about_category" />
|
||||||
<PreferenceScreen android:title="@string/revanced_patches_information" android:summary="@string/revanced_patches_information_summary" >
|
<PreferenceScreen android:title="@string/revanced_patches_information" android:summary="@string/revanced_patches_information_summary" >
|
||||||
<Preference android:title=" " android:selectable="false" android:summary="@string/revanced_tool_used" />
|
<Preference android:title=" " android:selectable="false" android:summary="@string/revanced_tool_used" />
|
||||||
<Preference android:title="revanced-patches" android:selectable="false" android:summary="2.184.31" />
|
<Preference android:title="revanced-patches" android:selectable="false" android:summary="2.184.3" />
|
||||||
<Preference android:title="revanced-integrations" android:key="revanced-integrations" android:selectable="false"/>
|
<Preference android:title="revanced-integrations" android:key="revanced-integrations" android:selectable="false"/>
|
||||||
|
|
||||||
<Preference android:title=" " android:selectable="false" android:summary="@string/revanced_ads" />
|
<Preference android:title=" " android:selectable="false" android:summary="@string/revanced_ads" />
|
||||||
|
Loading…
x
Reference in New Issue
Block a user