Skip to content

Commit

Permalink
fix: detekt issues
Browse files Browse the repository at this point in the history
  • Loading branch information
gongracr committed Sep 22, 2023
1 parent db6b2ac commit 1ec8fcf
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 4 deletions.
1 change: 0 additions & 1 deletion app/src/main/kotlin/com/wire/android/di/CoreLogicModule.kt
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ import com.wire.kalium.logic.feature.connection.BlockUserUseCase
import com.wire.kalium.logic.feature.connection.UnblockUserUseCase
import com.wire.kalium.logic.feature.conversation.ObserveOtherUserSecurityClassificationLabelUseCase
import com.wire.kalium.logic.feature.conversation.ObserveSecurityClassificationLabelUseCase
import com.wire.kalium.logic.feature.conversation.UpdateConversationArchivedStatusUseCase
import com.wire.kalium.logic.feature.conversation.UpdateConversationMemberRoleUseCase
import com.wire.kalium.logic.feature.selfDeletingMessages.ObserveSelfDeletionTimerSettingsForConversationUseCase
import com.wire.kalium.logic.feature.selfDeletingMessages.ObserveTeamSettingsSelfDeletingStatusUseCase
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,6 @@ sealed class HomeSnackbarState {
object DeleteConversationGroupError : HomeSnackbarState()
object LeftConversationSuccess : HomeSnackbarState()
object LeaveConversationError : HomeSnackbarState()
object ArchivingConversationSuccess: HomeSnackbarState()
object ArchivingConversationError: HomeSnackbarState()
object ArchivingConversationSuccess : HomeSnackbarState()
object ArchivingConversationError : HomeSnackbarState()
}
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,9 @@ interface GroupConversationDetailsBottomSheetEventsHandler {
val PREVIEW = object : GroupConversationDetailsBottomSheetEventsHandler {
override fun onMutingConversationStatusChange(
conversationId: ConversationId?, status: MutedConversationStatus, onMessage: (UIText) -> Unit
) {}
) {
}

override fun onAddConversationToFavourites(conversationId: ConversationId?) {}
override fun onMoveConversationToFolder(conversationId: ConversationId?) {}
override fun onMoveConversationToArchive(conversationId: ConversationId, shouldArchive: Boolean, onMessage: (UIText) -> Unit) {}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,11 +48,13 @@ sealed class OtherUserProfileInfoMessageType(override val uiText: UIText) : Snac
object BlockingUserOperationError : OtherUserProfileInfoMessageType(UIText.StringResource(R.string.error_blocking_user))
class BlockingUserOperationSuccess(val name: String) :
OtherUserProfileInfoMessageType(UIText.StringResource(R.string.blocking_user_success, name))

object MutingOperationError : OtherUserProfileInfoMessageType(UIText.StringResource(R.string.error_updating_muting_setting))
object UnblockingUserOperationError : OtherUserProfileInfoMessageType(UIText.StringResource(R.string.error_unblocking_user))
object ConversationContentDeleted : OtherUserProfileInfoMessageType(UIText.StringResource(R.string.conversation_content_deleted))
object ConversationContentDeleteFailure :
OtherUserProfileInfoMessageType(UIText.StringResource(R.string.conversation_content_delete_failure))

object ArchiveConversationError : OtherUserProfileInfoMessageType(UIText.StringResource(R.string.error_archiving_conversation))
object ArchiveConversationSuccess : OtherUserProfileInfoMessageType(UIText.StringResource(R.string.success_archiving_conversation))

Expand Down

0 comments on commit 1ec8fcf

Please sign in to comment.