Skip to content

Commit

Permalink
[#694] Ktlint 0.48.2
Browse files Browse the repository at this point in the history
* [#694] Ktlint 0.48.2
  • Loading branch information
HonzaR authored Feb 1, 2023
1 parent 92f2acf commit a9787eb
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 10 deletions.
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 1 addition & 2 deletions test-lib/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -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"/>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a9787eb

Please sign in to comment.