Respect "Always expand posts marked with content warnings" pref in notifications (#3154)

Fixes https://github.com/tuskyapp/Tusky/issues/3139
This commit is contained in:
Nik Clayton 2023-01-12 19:40:01 +01:00 committed by GitHub
commit 5498386be1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 5 deletions

View file

@ -62,6 +62,7 @@ data class AccountEntity(
var defaultMediaSensitivity: Boolean = false,
var defaultPostLanguage: String = "",
var alwaysShowSensitiveMedia: Boolean = false,
/** True if content behind a content warning is shown by default */
var alwaysOpenSpoiler: Boolean = false,
var mediaPreviewEnabled: Boolean = true,
var lastNotificationId: String = "0",