Skip to content

Commit

Permalink
fix detekt
Browse files Browse the repository at this point in the history
  • Loading branch information
saleniuk committed Dec 10, 2024
1 parent f4351b5 commit 3917dad
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,10 @@ import com.wire.kalium.logic.di.UserStorage
class ChangeProfilingUseCase(
private val userStorage: UserStorage,
) {
/**
* Changes the profiling of the database (cipher_profile) if the profile is specified and the database is encrypted
* @param enabled true to enable profiling, false to disable
*/
operator fun invoke(enabled: Boolean) {
userStorage.database.changeProfiling(enabled)
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,7 @@ internal expect fun userDatabaseDriverByPath(
enableWAL: Boolean
): SqlDriver

@Suppress("LongParameterList")
class UserDatabaseBuilder internal constructor(
private val userId: UserIDEntity,
internal val sqlDriver: SqlDriver,
Expand Down

0 comments on commit 3917dad

Please sign in to comment.