update commons to 3.13.16
This commit is contained in:
parent
398bcbee4b
commit
154793aef0
|
@ -45,7 +45,7 @@ ext {
|
||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
implementation 'com.simplemobiletools:commons:3.13.11'
|
implementation 'com.simplemobiletools:commons:3.13.16'
|
||||||
|
|
||||||
debugImplementation "com.squareup.leakcanary:leakcanary-android:$leakCanaryVersion"
|
debugImplementation "com.squareup.leakcanary:leakcanary-android:$leakCanaryVersion"
|
||||||
releaseImplementation "com.squareup.leakcanary:leakcanary-android-no-op:$leakCanaryVersion"
|
releaseImplementation "com.squareup.leakcanary:leakcanary-android-no-op:$leakCanaryVersion"
|
||||||
|
|
|
@ -28,8 +28,4 @@ class Config(context: Context) : BaseConfig(context) {
|
||||||
var lastSaveFolder: String
|
var lastSaveFolder: String
|
||||||
get() = prefs.getString(LAST_SAVE_FOLDER, "")
|
get() = prefs.getString(LAST_SAVE_FOLDER, "")
|
||||||
set(lastSaveFolder) = prefs.edit().putString(LAST_SAVE_FOLDER, lastSaveFolder).apply()
|
set(lastSaveFolder) = prefs.edit().putString(LAST_SAVE_FOLDER, lastSaveFolder).apply()
|
||||||
|
|
||||||
var preventPhoneFromSleeping: Boolean
|
|
||||||
get() = prefs.getBoolean(PREVENT_PHONE_FROM_SLEEPING, true)
|
|
||||||
set(preventPhoneFromSleeping) = prefs.edit().putBoolean(PREVENT_PHONE_FROM_SLEEPING, preventPhoneFromSleeping).apply()
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -5,7 +5,6 @@ const val CANVAS_BACKGROUND_COLOR = "canvas_background_color"
|
||||||
const val SHOW_BRUSH_SIZE = "show_brush_size"
|
const val SHOW_BRUSH_SIZE = "show_brush_size"
|
||||||
const val BRUSH_SIZE = "brush_size"
|
const val BRUSH_SIZE = "brush_size"
|
||||||
const val LAST_SAVE_FOLDER = "last_save_folder"
|
const val LAST_SAVE_FOLDER = "last_save_folder"
|
||||||
const val PREVENT_PHONE_FROM_SLEEPING = "prevent_phone_from_sleeping"
|
|
||||||
|
|
||||||
const val PNG = "png"
|
const val PNG = "png"
|
||||||
const val SVG = "svg"
|
const val SVG = "svg"
|
||||||
|
|
Loading…
Reference in New Issue