Suppress some deprecation warnings

This commit is contained in:
arkon
2020-12-12 23:50:28 -05:00
parent 628c525599
commit 91fa1ec6b2
2 changed files with 4 additions and 0 deletions
@@ -92,6 +92,7 @@ object Migrations {
}
if (oldVersion < 44) {
// Reset sorting preference if using removed sort by source
@Suppress("DEPRECATION")
if (preferences.librarySortingMode().get() == LibrarySort.SOURCE) {
preferences.librarySortingMode().set(LibrarySort.ALPHA)
}