Skip to content

Commit c1d66c4

Browse files
committed
fix(Twitter): Fix Customize timeline top bar patch - update tab ids
1 parent 5b2a8b5 commit c1d66c4

File tree

1 file changed

+3
-3
lines changed
  • extensions/twitter/src/main/java/app/revanced/extension/twitter

1 file changed

+3
-3
lines changed

extensions/twitter/src/main/java/app/revanced/extension/twitter/Pref.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -209,14 +209,14 @@ public static boolean hideBanner() {
209209
}
210210

211211
public static int timelineTab(int tabId) {
212-
if(tabId == 11 || tabId == 12){
212+
if(tabId == 17 || tabId == 34){
213213
String val = Utils.getStringPref(Settings.CUSTOM_TIMELINE_TABS);
214214
// If you want to hide forYou send followin tab Id and vice-versa.
215215
if(val.equals("hide_forYou")){
216-
return 12;
216+
return 34;
217217
}
218218
if (val.equals("hide_following")){
219-
return 11;
219+
return 17;
220220
}
221221
}
222222
return tabId;

0 commit comments

Comments
 (0)