change (media preview config) : use the new apis

This commit is contained in:
ganfra 2025-06-26 20:52:44 +02:00
parent 416f4f2215
commit 5332246bde
10 changed files with 158 additions and 60 deletions

View file

@ -22,10 +22,8 @@ interface AppPreferencesStore {
suspend fun setTheme(theme: String)
fun getThemeFlow(): Flow<String?>
suspend fun setHideInviteAvatars(value: Boolean)
fun getHideInviteAvatarsFlow(): Flow<Boolean>
suspend fun setTimelineMediaPreviewValue(value: MediaPreviewValue)
fun getTimelineMediaPreviewValueFlow(): Flow<MediaPreviewValue>
suspend fun setTracingLogLevel(logLevel: LogLevel)