[#694] Ktlint 0.48.2

* [#694] Ktlint 0.48.2
This commit is contained in:
Honza Rychnovsky 2023-02-01 13:50:24 +01:00 committed by GitHub
parent 92f2acf28a
commit a9787ebeac
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 4 additions and 10 deletions

View File

@ -111,7 +111,7 @@ FULLADLE_VERSION=0.17.4
GOOGLE_PLAY_SERVICES_GRADLE_PLUGIN_VERSION=4.3.15
GRADLE_VERSIONS_PLUGIN_VERSION=0.42.0
JGIT_VERSION=6.1.0.202203080745-r
KTLINT_VERSION=0.48.0
KTLINT_VERSION=0.48.2
PLAY_PUBLISHER_PLUGIN_VERSION=3.7.0
ACCOMPANIST_PERMISSIONS_VERSION=0.28.0

View File

@ -1,6 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest
xmlns:android="http://schemas.android.com/apk/res/android">
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
<permission android:name="android.permission.WAKE_LOCK"/>

View File

@ -54,11 +54,9 @@ data class ConfigurationOverride(val uiMode: UiMode?, val locale: LocaleList?) {
}
}
// TODO [694]: Ktlint 0.48.1 (remove this suppress)
// TODO [694]: https://github.com/zcash/secant-android-wallet/issues/694
@Suppress("ktlint:no-semi")
enum class UiMode {
Light, Dark;
Light,
Dark
}
private fun UiMode.flag() = when (this) {

View File

@ -10,9 +10,6 @@ interface AppUpdateChecker {
val stalenessDays: Int
// TODO [694]: Ktlint 0.48.1 (remove this suppress)
// TODO [694]: https://github.com/zcash/secant-android-wallet/issues/694
@Suppress("ktlint:no-semi")
enum class Priority {
LOW {
override fun priorityUpperBorder() = 1