From 6de54d63e6835f2727a1555e32126d81531d0cd7 Mon Sep 17 00:00:00 2001 From: aminecmi Date: Sun, 12 May 2019 21:17:45 +0200 Subject: [PATCH] Updates. --- app/build.gradle | 18 +++++++++--------- .../bou/readerforselfoss/ReaderActivity.kt | 2 +- app/src/main/res/values/colors.xml | 6 +++--- build.gradle | 4 ++-- 4 files changed, 15 insertions(+), 15 deletions(-) diff --git a/app/build.gradle b/app/build.gradle index caa4c1d..4cff13e 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -85,23 +85,23 @@ android { dependencies { // Testing - androidTestImplementation 'androidx.test.espresso:espresso-core:3.1.0-beta02' - androidTestImplementation 'androidx.test:runner:1.1.0-beta02' + androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0-beta01' + androidTestImplementation 'androidx.test:runner:1.2.0-beta01' // Espresso-contrib for DatePicker, RecyclerView, Drawer actions, Accessibility checks, CountingIdlingResource - androidTestImplementation 'androidx.test.espresso:espresso-contrib:3.1.0-beta02' + androidTestImplementation 'androidx.test.espresso:espresso-contrib:3.2.0-beta01' // Espresso-intents for validation and stubbing of Intents - androidTestImplementation 'androidx.test.espresso:espresso-intents:3.1.0-beta02' + androidTestImplementation 'androidx.test.espresso:espresso-intents:3.2.0-beta01' implementation fileTree(include: ['*.jar'], dir: 'libs') implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version" // Android Support implementation "androidx.appcompat:appcompat:$androidx_version" - implementation "com.google.android.material:material:$android_version" - implementation "androidx.recyclerview:recyclerview:$android_version" + implementation "com.google.android.material:material:1.1.0-alpha06" + implementation "androidx.recyclerview:recyclerview:1.1.0-alpha05" implementation "androidx.legacy:legacy-support-v4:$android_version" - implementation "androidx.vectordrawable:vectordrawable:$android_version" + implementation "androidx.vectordrawable:vectordrawable:1.1.0-beta01" implementation "androidx.browser:browser:$android_version" implementation "androidx.cardview:cardview:$android_version" - implementation 'androidx.constraintlayout:constraintlayout:2.0.0-alpha4' + implementation 'androidx.constraintlayout:constraintlayout:2.0.0-alpha5' //multidex implementation 'androidx.multidex:multidex:2.0.1' @@ -127,7 +127,7 @@ dependencies { implementation 'com.github.bumptech.glide:okhttp3-integration:4.1.1' // Drawer - implementation 'co.zsmb:materialdrawer-kt:2.0.1' + implementation 'co.zsmb:materialdrawer-kt:2.0.2' // Themes implementation 'com.52inc:scoops:1.0.0' diff --git a/app/src/main/java/apps/amine/bou/readerforselfoss/ReaderActivity.kt b/app/src/main/java/apps/amine/bou/readerforselfoss/ReaderActivity.kt index e2b2fc2..3b599fe 100644 --- a/app/src/main/java/apps/amine/bou/readerforselfoss/ReaderActivity.kt +++ b/app/src/main/java/apps/amine/bou/readerforselfoss/ReaderActivity.kt @@ -211,7 +211,7 @@ class ReaderActivity : AppCompatActivity() { } } - override fun onSaveInstanceState(oldInstanceState: Bundle?) { + override fun onSaveInstanceState(oldInstanceState: Bundle) { super.onSaveInstanceState(oldInstanceState) oldInstanceState!!.clear() } diff --git a/app/src/main/res/values/colors.xml b/app/src/main/res/values/colors.xml index 479f43f..59ab7c7 100644 --- a/app/src/main/res/values/colors.xml +++ b/app/src/main/res/values/colors.xml @@ -5,14 +5,14 @@ #FFff5722 #FFbf360c #FFe91e63 - #FFFFFFFF - #FF000000 + #FFFFFF + #000000 @color/colorAccentDark @color/colorAccent @color/pink #FFe4e4e4 - #FF303030 + #303030 #FFFFFF #FAFAFA #212121 diff --git a/build.gradle b/build.gradle index b42660c..0ce1753 100644 --- a/build.gradle +++ b/build.gradle @@ -4,10 +4,10 @@ buildscript { ext { kotlin_version = '1.3.31' android_version = '1.0.0' - androidx_version = '1.0.2' + androidx_version = '1.1.0-alpha05' lifecycle_version = '2.2.0-alpha01' room_version = '2.1.0-beta01' - work_version = "1.0.1-rc01" + work_version = '1.0.1' } repositories { google()