Skip to content

Commit 6fa56bb

Browse files
committed
updating commons and room
1 parent 1ccc67d commit 6fa56bb

File tree

2 files changed

+4
-9
lines changed

2 files changed

+4
-9
lines changed

app/build.gradle

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ android {
7070
}
7171

7272
dependencies {
73-
implementation 'com.github.SimpleMobileTools:Simple-Commons:449b24c6a4'
73+
implementation 'com.github.SimpleMobileTools:Simple-Commons:383335c243'
7474
implementation 'org.greenrobot:eventbus:3.3.1'
7575
implementation 'androidx.media:media:1.6.0'
7676
implementation 'androidx.swiperefreshlayout:swiperefreshlayout:1.1.0'
@@ -84,7 +84,7 @@ dependencies {
8484
// higher versions of jaudiotagger not compatible with <= API 25 devices
8585
// https://bitbucket.org/ijabz/jaudiotagger/issues/149/some-nio-classes-are-unavailable-while
8686
implementation "net.jthink:jaudiotagger:2.2.5"
87-
kapt "androidx.room:room-compiler:2.4.3"
88-
implementation "androidx.room:room-runtime:2.4.3"
89-
annotationProcessor "androidx.room:room-compiler:2.4.3"
87+
kapt "androidx.room:room-compiler:2.5.0"
88+
implementation "androidx.room:room-runtime:2.5.0"
89+
annotationProcessor "androidx.room:room-compiler:2.5.0"
9090
}

app/src/main/kotlin/com/simplemobiletools/musicplayer/helpers/Config.kt

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ package com.simplemobiletools.musicplayer.helpers
22

33
import android.content.Context
44
import com.simplemobiletools.commons.helpers.BaseConfig
5-
import com.simplemobiletools.commons.helpers.SORT_FOLDER_PREFIX
65
import java.util.*
76

87
class Config(context: Context) : BaseConfig(context) {
@@ -114,10 +113,6 @@ class Config(context: Context) : BaseConfig(context) {
114113
get() = prefs.getInt(SHOW_TABS, allTabsMask)
115114
set(showTabs) = prefs.edit().putInt(SHOW_TABS, showTabs).apply()
116115

117-
var lastExportPath: String
118-
get() = prefs.getString(LAST_EXPORT_PATH, "")!!
119-
set(lastExportPath) = prefs.edit().putString(LAST_EXPORT_PATH, lastExportPath).apply()
120-
121116
var excludedFolders: MutableSet<String>
122117
get() = prefs.getStringSet(EXCLUDED_FOLDERS, HashSet())!!
123118
set(excludedFolders) = prefs.edit().remove(EXCLUDED_FOLDERS).putStringSet(EXCLUDED_FOLDERS, excludedFolders).apply()

0 commit comments

Comments
 (0)