Hide message notification content when the app is locked (#6902)

* Hide message notification content by default when the app is locked

* Make this the default without an option

* Fix test

* Update DefaultNotificationDrawerManager.kt

* Fix
This commit is contained in:
bxdxnn
2026-06-19 16:34:38 +03:00
committed by GitHub
parent d4aa49f3d3
commit 790b9cff63
5 changed files with 66 additions and 4 deletions
@@ -56,7 +56,6 @@ class UserPushStoreDataStore(
private val currentPushKey = stringPreferencesKey("currentPushKey")
private val notificationEnabled = booleanPreferencesKey("notificationEnabled")
private val ignoreRegistrationError = booleanPreferencesKey("ignoreRegistrationError")
override suspend fun getPushProviderName(): String? {
return store.data.first()[pushProviderName]
}