diff --git a/app/src/main/java/io/github/sds100/keymapper/backup/BackupManager.kt b/app/src/main/java/io/github/sds100/keymapper/backup/BackupManager.kt index 291a9f3789..268018c5f0 100644 --- a/app/src/main/java/io/github/sds100/keymapper/backup/BackupManager.kt +++ b/app/src/main/java/io/github/sds100/keymapper/backup/BackupManager.kt @@ -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<*> { diff --git a/app/src/main/java/io/github/sds100/keymapper/constraints/ConstraintSnapshot.kt b/app/src/main/java/io/github/sds100/keymapper/constraints/ConstraintSnapshot.kt index 38317157da..2bfb975d49 100644 --- a/app/src/main/java/io/github/sds100/keymapper/constraints/ConstraintSnapshot.kt +++ b/app/src/main/java/io/github/sds100/keymapper/constraints/ConstraintSnapshot.kt @@ -64,7 +64,7 @@ class ConstraintSnapshotImpl( ConstraintMode.OR -> { constraintState.constraints.any { isSatisfied(it) } } - } + } private fun isSatisfied(constraint: Constraint): Boolean { val isSatisfied = when (constraint) { diff --git a/app/src/main/java/io/github/sds100/keymapper/data/migration/Migration2To3.kt b/app/src/main/java/io/github/sds100/keymapper/data/migration/Migration2To3.kt index 345e4931b2..b3297b3b77 100644 --- a/app/src/main/java/io/github/sds100/keymapper/data/migration/Migration2To3.kt +++ b/app/src/main/java/io/github/sds100/keymapper/data/migration/Migration2To3.kt @@ -69,7 +69,7 @@ object Migration2To3 { "volume_up", "volume_mute", "volume_toggle_mute", - "volume_unmute", + "volume_unmute", ) } && performActionOnDown(trigger["keys"].asJsonArray, trigger["mode"].asInt)