mirror of
https://github.com/vector-im/element-android.git
synced 2024-11-15 01:35:07 +08:00
Removing non necessary debug log
This commit is contained in:
parent
ced4bf3573
commit
163bf57fda
@ -22,7 +22,6 @@ import im.vector.app.features.settings.devices.v2.notification.NotificationsStat
|
||||
import kotlinx.coroutines.flow.collect
|
||||
import kotlinx.coroutines.flow.onEach
|
||||
import org.matrix.android.sdk.api.session.Session
|
||||
import timber.log.Timber
|
||||
import javax.inject.Inject
|
||||
|
||||
/**
|
||||
@ -42,7 +41,6 @@ class UpdateEnableNotificationsSettingOnChangeUseCase @Inject constructor(
|
||||
}
|
||||
|
||||
private fun updatePreference(notificationStatus: NotificationsStatus) {
|
||||
Timber.d("updatePreference with status=$notificationStatus")
|
||||
when (notificationStatus) {
|
||||
NotificationsStatus.ENABLED -> vectorPreferences.setNotificationEnabledForDevice(true)
|
||||
NotificationsStatus.DISABLED -> vectorPreferences.setNotificationEnabledForDevice(false)
|
||||
|
Loading…
Reference in New Issue
Block a user