Skip to content

Commit 3f06f9c

Browse files
committed
[BOOK-364] chore: code style check success
1 parent 2ce8b80 commit 3f06f9c

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

core/data/impl/src/main/kotlin/com/ninecraft/booket/core/data/impl/repository/DefaultUserRepository.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ internal class DefaultUserRepository @Inject constructor(
8383
task.exception?.let { exception ->
8484
continuation.resumeWithException(exception)
8585
} ?: continuation.resumeWithException(
86-
Exception("Unknown error occurred while fetching FCM token")
86+
Exception("Unknown error occurred while fetching FCM token"),
8787
)
8888
}
8989
}

feature/settings/src/main/kotlin/com/ninecraft/booket/feature/settings/notification/NotificationPresenter.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,8 +94,8 @@ class NotificationPresenter @AssistedInject constructor(
9494
val userEnabled = userRepository.getUserNotificationEnabled()
9595
val lastSyncedServerEnabled = userRepository.getLastSyncedNotificationEnabled()
9696

97-
val shouldSync = (!isPermissionGranted && lastSyncedServerEnabled != false)
98-
|| (userEnabled && (lastSyncedServerEnabled == null || lastSyncedServerEnabled != isPermissionGranted))
97+
val shouldSync = (!isPermissionGranted && lastSyncedServerEnabled != false) ||
98+
(userEnabled && (lastSyncedServerEnabled == null || lastSyncedServerEnabled != isPermissionGranted))
9999

100100
if (shouldSync) {
101101
syncNotificationSettings(isPermissionGranted)

feature/settings/src/main/kotlin/com/ninecraft/booket/feature/settings/notification/NotificationUiState.kt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
package com.ninecraft.booket.feature.settings.notification
22

33
import androidx.compose.runtime.Immutable
4-
import com.ninecraft.booket.core.common.utils.UiText
54
import com.slack.circuit.runtime.CircuitUiEvent
65
import com.slack.circuit.runtime.CircuitUiState
76
import java.util.UUID

0 commit comments

Comments
 (0)