File tree Expand file tree Collapse file tree 3 files changed +6
-2
lines changed
extensions/spotify/src/main/java/app/revanced/extension/spotify/layout/hide/createbutton
patches/src/main/kotlin/app/revanced/patches/spotify/layout/hide/createbutton Expand file tree Collapse file tree 3 files changed +6
-2
lines changed Original file line number Diff line number Diff line change 77
88import java .util .List ;
99
10+ @ Deprecated (forRemoval = true )
1011@ SuppressWarnings ("unused" )
1112public final class HideCreateButtonPatch {
1213
Original file line number Diff line number Diff line change @@ -7,10 +7,12 @@ import com.android.tools.smali.dexlib2.AccessFlags
77import com.android.tools.smali.dexlib2.Opcode
88import com.android.tools.smali.dexlib2.iface.reference.MethodReference
99
10+ @Deprecated(" Obsolete" )
1011internal val navigationBarItemSetClassFingerprint = fingerprint {
1112 strings(" NavigationBarItemSet(" )
1213}
1314
15+ @Deprecated(" Obsolete" )
1416internal val navigationBarItemSetConstructorFingerprint = fingerprint {
1517 accessFlags(AccessFlags .PUBLIC , AccessFlags .CONSTRUCTOR )
1618 // Make sure the method checks whether navigation bar items are null before adding them.
@@ -23,6 +25,7 @@ internal val navigationBarItemSetConstructorFingerprint = fingerprint {
2325 }
2426}
2527
28+ @Deprecated(" Obsolete" )
2629internal val oldNavigationBarAddItemFingerprint = fingerprint {
2730 strings(" Bottom navigation tabs exceeds maximum of 5 tabs" )
2831}
Original file line number Diff line number Diff line change @@ -14,11 +14,11 @@ import com.android.tools.smali.dexlib2.iface.reference.MethodReference
1414private const val EXTENSION_CLASS_DESCRIPTOR =
1515 " Lapp/revanced/extension/spotify/layout/hide/createbutton/HideCreateButtonPatch;"
1616
17+ @Deprecated(" Patch no longer works with the latest version of Spotify, " +
18+ " and Spotify has added this functionality to the app" )
1719@Suppress(" unused" )
1820val hideCreateButtonPatch = bytecodePatch(
19- name = " Hide Create button" ,
2021 description = " Hides the \" Create\" button in the navigation bar. The latest app targets do not need this patch." ,
21- use = false
2222) {
2323 compatibleWith(" com.spotify.music" )
2424
You can’t perform that action at this time.
0 commit comments