Skip to content

Commit

Permalink
added settings tab name in tabbar
Browse files Browse the repository at this point in the history
  • Loading branch information
gdlbo committed Oct 3, 2022
1 parent 4ca5f7d commit 1a8da81
Show file tree
Hide file tree
Showing 9 changed files with 45 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,9 @@ public boolean onPreferenceTreeClick(Preference preference) {
findPreference("setoffline").setEnabled(offline());
return super.onPreferenceTreeClick(preference);
}

@Override
public int T4() {
return getIdentifier("vtlactivity", "string");
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -143,4 +143,9 @@ public boolean onPreferenceClick(Preference preference) {
return true;
}
}

@Override
public int T4() {
return getIdentifier("vtlfeed", "string");
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,9 @@ public void onCreate(Bundle bundle) {
super.onCreate(bundle);
addPreferencesFromResource(getIdentifier("preferences_gms", "xml"));
}

@Override
public int T4() {
return getIdentifier("installgms", "string");
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -60,4 +60,9 @@ public boolean onPreferenceClick(Preference preference) {
return InterfaceFragment.this.restart(preference);
}
}

@Override
public int T4() {
return getIdentifier("vtlinterface", "string");
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -285,4 +285,9 @@ public boolean onPreferenceClick(Preference preference) {
return true;
}
}

@Override
public int T4() {
return getIdentifier("vtlmedia", "string");
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -105,8 +105,12 @@ public boolean onPreferenceClick(Preference preference) {
Intent a2 = new Navigator(WallpaperMenuFragment.class).b(context);
a2.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
context.startActivity(a2);
// sendToast("Обои временно недоступны. Следите за новостями на @vtosters в Telegram");
return true;
}
}

@Override
public int T4() {
return getIdentifier("vtlmessages", "string");
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,6 @@

public class OtherFragment extends MaterialPreferenceToolbarFragment {
private static final int VK_ADMIN_TOKEN_REQUEST_CODE = 1;

@Override
public void onCreate(Bundle bundle) {
super.onCreate(bundle);
Expand Down Expand Up @@ -374,4 +373,9 @@ public boolean onPreferenceClick(Preference preference) {
return true;
}
}

@Override
public int T4() {
return getIdentifier("vtlother", "string");
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,9 @@ public void onCreate(Bundle bundle) {
return true;
});
}

@Override
public int T4() {
return getIdentifier("vtlproxy", "string");
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -75,4 +75,9 @@ public boolean onPreferenceClick(Preference preference) {
return true;
}
}

@Override
public int T4() {
return getIdentifier("vtlthemes", "string");
}
}

0 comments on commit 1a8da81

Please sign in to comment.