Removed a leftover from an earlier merge
This commit is contained in:
parent
e0177055ec
commit
1a119f75d5
2 changed files with 1 additions and 9 deletions
|
@ -33,14 +33,6 @@ import org.y20k.trackbook.extensions.putDouble
|
||||||
*/
|
*/
|
||||||
object PreferencesHelper {
|
object PreferencesHelper {
|
||||||
|
|
||||||
/* The sharedPreferences object to be initialized */
|
|
||||||
private lateinit var sharedPreferences: SharedPreferences
|
|
||||||
|
|
||||||
/* Initialize a single sharedPreferences object when the app is launched */
|
|
||||||
fun Context.initPreferences() {
|
|
||||||
sharedPreferences = PreferenceManager.getDefaultSharedPreferences(this)
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Define log tag */
|
/* Define log tag */
|
||||||
private val TAG: String = LogHelper.makeLogTag(PreferencesHelper::class.java)
|
private val TAG: String = LogHelper.makeLogTag(PreferencesHelper::class.java)
|
||||||
|
|
||||||
|
|
|
@ -10,7 +10,7 @@ buildscript {
|
||||||
mavenCentral()
|
mavenCentral()
|
||||||
}
|
}
|
||||||
dependencies {
|
dependencies {
|
||||||
classpath 'com.android.tools.build:gradle:4.2.1'
|
classpath 'com.android.tools.build:gradle:4.2.2'
|
||||||
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
|
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
|
||||||
classpath "androidx.navigation:navigation-safe-args-gradle-plugin:$navigation_version"
|
classpath "androidx.navigation:navigation-safe-args-gradle-plugin:$navigation_version"
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue