Yuito-app-android/app/src/main/java/com/keylesspalace/tusky
Nik Clayton f5b89f855f
Show the correct tab title when opening the activity (#3915)
The previous code used `notificationTabPosition`, which was never
changed, so always 0.

This meant that if you e.g., got to `MainActivity` by clicking on a
notification, and the notification tab was current, the title would
still show "Home".

Fix that by using the existing `position` variable which represents the
currently selected tab, and ensure the correct title is shown.

Fixes #3864.
2023-08-03 21:49:19 +02:00
..
adapter Kotlin 1.9.0 (#3835) 2023-08-02 09:04:24 +02:00
appstore Remove Rx from EventHub and TimelineCases (#3446) 2023-03-18 10:11:47 +01:00
components Show additional bug report info in AboutActivity (#3802) 2023-08-03 12:20:35 +02:00
db Kotlin 1.9.0 (#3835) 2023-08-02 09:04:24 +02:00
di Make AccountPreferenceDataStore injectable (#3653) 2023-06-11 15:34:58 +02:00
entity Migrate "room" from "kapt" to "ksp" (#3777) 2023-06-29 18:37:46 +02:00
fragment Fix image zoom / pan / scroll / swipe (#3894) 2023-07-31 12:44:01 +02:00
interfaces Support the mastodon 4 filter api (#3188) 2023-03-11 13:12:50 +01:00
json update ktlint plugin to 11.3.1, format code (#3442) 2023-03-13 13:16:39 +01:00
network Refactor "trending hashtags" code (#3595) 2023-06-10 19:47:07 +02:00
pager Keep the tabs adapter over the life of the viewpager (#3255) 2023-02-15 19:17:59 +01:00
receiver Move cache pruning to a WorkManager worker (#3649) 2023-06-11 13:17:30 +02:00
service Replace deprecated getParcelable* methods with compat versions (#3633) 2023-06-11 12:58:55 +02:00
settings Provide a preference to scale all UI text (#3248) 2023-06-29 18:34:56 +02:00
usecase Remove Rx from EventHub and TimelineCases (#3446) 2023-03-18 10:11:47 +01:00
util Kotlin 1.9.0 (#3835) 2023-08-02 09:04:24 +02:00
view Clear listeners, hide icons when appropriate (#3870) 2023-07-26 17:00:08 +02:00
viewdata Refactor "trending hashtags" code (#3595) 2023-06-10 19:47:07 +02:00
viewmodel Kotlin 1.9.0 (#3835) 2023-08-02 09:04:24 +02:00
worker Show notifications from workers (#3760) 2023-06-29 18:37:27 +02:00
AboutActivity.kt Show additional bug report info in AboutActivity (#3802) 2023-08-03 12:20:35 +02:00
AccountsInListFragment.kt Simplify repeated code that shows errors (#3762) 2023-06-19 23:49:20 +02:00
BaseActivity.java Provide a preference to scale all UI text (#3248) 2023-06-29 18:34:56 +02:00
BottomSheetActivity.kt update ktlint plugin to 11.3.1, format code (#3442) 2023-03-13 13:16:39 +01:00
EditProfileActivity.kt update ktlint plugin to 11.3.1, format code (#3442) 2023-03-13 13:16:39 +01:00
LicenseActivity.kt update ktlint plugin to 11.3.1, format code (#3442) 2023-03-13 13:16:39 +01:00
ListsActivity.kt 3430: Make list refresh/retry consistent (#3474) 2023-03-30 19:29:42 +02:00
MainActivity.kt Show the correct tab title when opening the activity (#3915) 2023-08-03 21:49:19 +02:00
SplashActivity.kt remove legacy notification channel cleanup (#2550) 2022-05-25 20:54:25 +02:00
StatusListActivity.kt update ktlint plugin to 11.3.1, format code (#3442) 2023-03-13 13:16:39 +01:00
TabData.kt Kotlin 1.9.0 (#3835) 2023-08-02 09:04:24 +02:00
TabPreferenceActivity.kt Display the list's title in the array adapter (#3823) 2023-07-08 21:08:37 +02:00
TuskyApplication.kt Show notifications from workers (#3760) 2023-06-29 18:37:27 +02:00
ViewMediaActivity.kt Replace deprecated getParcelable* methods with compat versions (#3633) 2023-06-11 12:58:55 +02:00