update commons to 3.19.22

This commit is contained in:
tibbi 2018-04-27 20:54:44 +02:00
parent 4daed3d09e
commit a15bc5c7a3
3 changed files with 8 additions and 8 deletions

View File

@ -41,7 +41,7 @@ android {
}
dependencies {
implementation 'com.simplemobiletools:commons:3.18.9'
implementation 'com.simplemobiletools:commons:3.19.22'
}
Properties props = new Properties()

View File

@ -18,10 +18,10 @@ class MyContentProviderDbHelper private constructor(private val context: Context
private val mDb = writableDatabase
companion object {
private val DB_NAME = "Commons.db"
private val DB_VERSION = 1
private val TABLE_NAME = "commons_colors"
private val THEME_ID = 1 // for now we are storing just 1 theme
private const val DB_NAME = "Commons.db"
private const val DB_VERSION = 1
private const val TABLE_NAME = "commons_colors"
private const val THEME_ID = 1 // for now we are storing just 1 theme
fun newInstance(context: Context) = MyContentProviderDbHelper(context)
}
@ -36,7 +36,7 @@ class MyContentProviderDbHelper private constructor(private val context: Context
private fun insertDefaultTheme() {
val resources = context.resources
val theme = SharedTheme(resources.getColor(R.color.theme_dark_text_color), resources.getColor(R.color.theme_dark_background_color),
resources.getColor(R.color.color_primary))
resources.getColor(R.color.color_primary), resources.getColor(R.color.color_primary))
insertTheme(theme, mDb)
}

View File

@ -1,7 +1,7 @@
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
ext.kotlin_version = '1.2.31'
ext.kotlin_version = '1.2.40'
repositories {
jcenter()
@ -9,7 +9,7 @@ buildscript {
}
dependencies {
classpath 'com.android.tools.build:gradle:3.1.0'
classpath 'com.android.tools.build:gradle:3.1.2'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
// NOTE: Do not place your application dependencies here; they belong