mirror of
https://github.com/tuskyapp/Tusky
synced 2025-02-08 22:18:45 +01:00
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.