mirror of
https://github.com/mihonapp/mihon.git
synced 2025-11-15 05:27:28 +01:00
Lint changes (#7802)
- Fixes current lint issues - Changes lint task to lintKotlin on PRs
This commit is contained in:
@@ -103,9 +103,9 @@ object Migrations {
|
||||
// Reset sorting preference if using removed sort by source
|
||||
val oldSortingMode = prefs.getInt(PreferenceKeys.librarySortingMode, 0)
|
||||
|
||||
if (oldSortingMode == 5 /* SOURCE */) {
|
||||
if (oldSortingMode == 5) { // SOURCE = 5
|
||||
prefs.edit {
|
||||
putInt(PreferenceKeys.librarySortingMode, 0 /* ALPHABETICAL */)
|
||||
putInt(PreferenceKeys.librarySortingMode, 0) // ALPHABETICAL = 0
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user