fix: Update timeline when link preview setting changes (#180)

The previous code didn't include SHOW_CARDS_IN_TIMELINES in the list of
prefkeys that change `StatusDisplayOptions`, so changing the preference
wouldn't update the timeline display; you had to close/restart the app.
This commit is contained in:
Nik Clayton 2023-10-16 21:49:11 +02:00 committed by GitHub
parent 3cfb7a0d1e
commit 2ca279a37c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -66,6 +66,7 @@ class StatusDisplayOptionsRepository @Inject constructor(
PrefKeys.CONFIRM_REBLOGS,
PrefKeys.MEDIA_PREVIEW_ENABLED,
PrefKeys.SHOW_BOT_OVERLAY,
PrefKeys.SHOW_CARDS_IN_TIMELINES,
PrefKeys.USE_BLURHASH,
PrefKeys.WELLBEING_HIDE_STATS_POSTS,
PrefKeys.SHOW_STATS_INLINE,