diff options
author | DeathPhantom77 <53287226+DeathPhantom77@users.noreply.github.com> | 2022-12-15 12:10:37 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-12-15 12:10:37 +0000 |
commit | 99f10bddbc48c01ddd77a1f40d17da1b403831bc (patch) | |
tree | e11cd5ccb34524bcf53517a09960664d53757521 /app/src | |
parent | 0bcacafec36c27166a0e43d034279cf50224a1b6 (diff) | |
download | infinity-for-reddit-99f10bddbc48c01ddd77a1f40d17da1b403831bc.tar infinity-for-reddit-99f10bddbc48c01ddd77a1f40d17da1b403831bc.tar.gz infinity-for-reddit-99f10bddbc48c01ddd77a1f40d17da1b403831bc.tar.bz2 infinity-for-reddit-99f10bddbc48c01ddd77a1f40d17da1b403831bc.tar.lz infinity-for-reddit-99f10bddbc48c01ddd77a1f40d17da1b403831bc.tar.xz infinity-for-reddit-99f10bddbc48c01ddd77a1f40d17da1b403831bc.tar.zst infinity-for-reddit-99f10bddbc48c01ddd77a1f40d17da1b403831bc.zip |
Keep the capital letteing of your Multireddit when displayed on the home bar tab (#1279)
Diffstat (limited to '')
-rw-r--r-- | app/src/main/java/ml/docilealligator/infinityforreddit/activities/MainActivity.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/src/main/java/ml/docilealligator/infinityforreddit/activities/MainActivity.java b/app/src/main/java/ml/docilealligator/infinityforreddit/activities/MainActivity.java index bbc23811..b2dfb26e 100644 --- a/app/src/main/java/ml/docilealligator/infinityforreddit/activities/MainActivity.java +++ b/app/src/main/java/ml/docilealligator/infinityforreddit/activities/MainActivity.java @@ -897,10 +897,10 @@ public class MainActivity extends BaseActivity implements SortTypeSelectionCallb mShowFavoriteSubscribedSubreddits || mShowSubscribedSubreddits) && sectionsPagerAdapter != null) { if (position - tabCount < sectionsPagerAdapter.favoriteMultiReddits.size()) { - Utils.setTitleWithCustomFontToTab(typeface, tab, sectionsPagerAdapter.favoriteMultiReddits.get(position - tabCount).getName()); + Utils.setTitleWithCustomFontToTab(typeface, tab, sectionsPagerAdapter.favoriteMultiReddits.get(position - tabCount).getDisplayName()); } else if (position - tabCount - sectionsPagerAdapter.favoriteMultiReddits.size() < sectionsPagerAdapter.multiReddits.size()) { Utils.setTitleWithCustomFontToTab(typeface, tab, sectionsPagerAdapter.multiReddits.get(position - tabCount - - sectionsPagerAdapter.favoriteMultiReddits.size()).getName()); + - sectionsPagerAdapter.favoriteMultiReddits.size()).getDisplayName()); } else if (position - tabCount - sectionsPagerAdapter.favoriteMultiReddits.size() - sectionsPagerAdapter.multiReddits.size() < sectionsPagerAdapter.favoriteSubscribedSubreddits.size()) { Utils.setTitleWithCustomFontToTab(typeface, tab, sectionsPagerAdapter.favoriteSubscribedSubreddits.get(position - tabCount |