chinwag-android/app/src/main/java/com/keylesspalace/tusky
Konrad Pozniak 056aaa7e0e
[v25.1] fix crash when exceeding max shortcut number (#4415)
I made a mistake in https://github.com/tuskyapp/Tusky/pull/4389 🙄 

With `addDynamicShortcuts` the limit can still be exceeded,
`setDynamicShortcuts` is what we want.

Also, `setLongLived` says:

> Sets if a shortcut would be valid even if it has been
unpublished/invisible by the app (as a dynamic or pinned shortcut). If
it is long lived, it can be cached by various system services even after
it has been unpublished as a dynamic shortcut.

I don't think we want that so I removed it.
2024-05-04 18:36:26 +02:00
..
adapter Replace Gson library with Moshi (#4309) 2024-04-02 21:01:04 +02:00
appstore fix scheduling posts (#4392) 2024-04-25 17:08:57 +02:00
components fix crash when quickly unfollowing hashtags (#4404) 2024-05-01 18:43:45 +02:00
db Replace Gson library with Moshi (#4309) 2024-04-02 21:01:04 +02:00
di Enable support for WebVTT and TTML subtitles for the player (#4377) 2024-04-17 21:29:21 +02:00
entity fix deserializing Akkoma cards (#4395) 2024-04-26 19:19:29 +02:00
fragment Replace Gson library with Moshi (#4309) 2024-04-02 21:01:04 +02:00
interfaces Machine translation of posts (#4307) 2024-03-09 16:12:18 +01:00
json Replace Gson library with Moshi (#4309) 2024-04-02 21:01:04 +02:00
network fix scheduling posts (#4392) 2024-04-25 17:08:57 +02:00
pager upgrade ktlint plugin to 12.0.3 (#4169) 2024-01-04 17:00:55 +01:00
receiver Replace Gson library with Moshi (#4309) 2024-04-02 21:01:04 +02:00
service fix scheduling posts (#4392) 2024-04-25 17:08:57 +02:00
settings Fix some warnings & recreate lint-baseline.xml (#4278) 2024-02-25 16:20:26 +01:00
usecase Retrofit 2.10.0 (#4330) 2024-03-19 08:32:14 +01:00
util [v25.1] fix crash when exceeding max shortcut number (#4415) 2024-05-04 18:36:26 +02:00
view full sdk 34 support (#4224) 2024-02-23 10:27:19 +01:00
viewdata Replace Gson library with Moshi (#4309) 2024-04-02 21:01:04 +02:00
viewmodel Remove redundant crossinline (#4348) 2024-03-29 21:12:49 +01:00
worker upgrade ktlint plugin to 12.0.3 (#4169) 2024-01-04 17:00:55 +01:00
AboutActivity.kt Machine translation of posts (#4307) 2024-03-09 16:12:18 +01:00
AccountsInListFragment.kt upgrade ktlint plugin to 12.0.3 (#4169) 2024-01-04 17:00:55 +01:00
BaseActivity.java improve MainActivity / LoginActivity transitions (#4301) 2024-03-09 11:04:29 +01:00
BottomSheetActivity.kt Replace RxJava3 code with coroutines (#4290) 2024-02-29 15:28:48 +01:00
EditProfileActivity.kt Migrate LiveData to Flow (#4337) 2024-03-27 11:34:17 +01:00
LicenseActivity.kt Optimize I/O code using Okio - part 2 (#4372) 2024-04-14 16:39:29 +02:00
ListsActivity.kt full sdk 34 support (#4224) 2024-02-23 10:27:19 +01:00
MainActivity.kt never create more than the allowed number of shortcuts (#4389) 2024-04-25 17:08:46 +02:00
SplashActivity.kt remove legacy notification channel cleanup (#2550) 2022-05-25 20:54:25 +02:00
StatusListActivity.kt full sdk 34 support (#4224) 2024-02-23 10:27:19 +01:00
TabData.kt upgrade ktlint plugin to 12.0.3 (#4169) 2024-01-04 17:00:55 +01:00
TabPreferenceActivity.kt fix check that ensures only one bookmark tab is added (#4217) 2024-01-28 19:07:17 +01:00
TuskyApplication.kt Replace RxJava3 code with coroutines (#4290) 2024-02-29 15:28:48 +01:00
ViewMediaActivity.kt Replace RxJava3 code with coroutines (#4290) 2024-02-29 15:28:48 +01:00