Skip to content

Commit

Permalink
style: reformat more
Browse files Browse the repository at this point in the history
  • Loading branch information
sds100 committed Jun 15, 2024
1 parent 3a7a8ba commit 3f17f3f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ class BackupManagerImpl(

backupAsync(outputFile, keyMaps.data, fingerprintMaps.data).await()
.then { Success(uri) }
}
}

@Suppress("BlockingMethodInNonBlockingContext")
override suspend fun restoreMappings(uri: String): Result<*> {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ class ConstraintSnapshotImpl(
ConstraintMode.OR -> {
constraintState.constraints.any { isSatisfied(it) }
}
}
}

private fun isSatisfied(constraint: Constraint): Boolean {
val isSatisfied = when (constraint) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ object Migration2To3 {
"volume_up",
"volume_mute",
"volume_toggle_mute",
"volume_unmute",
"volume_unmute",
)
} &&
performActionOnDown(trigger["keys"].asJsonArray, trigger["mode"].asInt)
Expand Down

0 comments on commit 3f17f3f

Please sign in to comment.