1
0
mirror of https://github.com/accelforce/Yuito synced 2024-12-22 05:19:05 +01:00
Yuito-app-android/app
Nik Clayton 059352f471
Display notification filter/clear actions as menu items (#3877)
Previously the notification filter and clear actions were shown as
buttons in the UI, with a preference that determined whether they were
displayed.

Remove this preference, and display them as menu items.

- "Filter notifications" is shown as an icon, if possible
- "Clear notifications" is only ever shown as a menu item, to reduce the
chance the user inadvertently selects it

To ensure that the options menu appears correctly, remove the code that
creates a "fake" action bar, and adjust the layouts so that there are
three toolbars;

- mainToolbar -- displays the icons, and the current "location" (Home,
Notifications, etc)
- topNav -- displays the row of tabs at the top
- bottomNav -- displays the row of tabs at the bottom

Only one of them is set as the support action bar (depending on the
user's preferences). This provides the "show a logo" and "show the
options menu" functionality as standard, without needing to re-implement
as the previous code did.
2023-08-19 14:41:10 +02:00
..
schemas/com.keylesspalace.tusky.db.AppDatabase Rename "Trending" to "TrendingTags" or similar where necessary (#3906) 2023-08-19 12:54:35 +02:00
src Display notification filter/clear actions as menu items (#3877) 2023-08-19 14:41:10 +02:00
build.gradle Add newLintBaseline task (#3925) 2023-08-07 19:30:21 +02:00
getGitSha.gradle
lint-baseline.xml Rename "Trending" to "TrendingTags" or similar where necessary (#3906) 2023-08-19 12:54:35 +02:00
lint.xml Use lint version 8.1.0 to fix erroneous warning about forEach (#3903) 2023-07-30 21:45:43 +02:00
proguard-rules.pro