diff --git a/app/build.gradle b/app/build.gradle index 2a4b3568..f7d0b7b7 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -112,29 +112,30 @@ project.tasks.withType(org.jetbrains.kotlin.gradle.tasks.KotlinCompile).all { ext.lifecycleVersion = "2.2.0" ext.roomVersion = '2.2.5' -ext.retrofitVersion = '2.8.1' -ext.okhttpVersion = '4.4.0' +ext.retrofitVersion = '2.9.0' +ext.okhttpVersion = '4.7.2' ext.glideVersion = '4.11.0' -ext.daggerVersion = '2.27' -ext.materialdrawerVersion = '8.0.1' +ext.daggerVersion = '2.28' +ext.materialdrawerVersion = '8.0.3' // if libraries are changed here, they should also be changed in LicenseActivity dependencies { implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version" - implementation "androidx.core:core-ktx:1.2.0" - implementation "androidx.appcompat:appcompat:1.2.0-alpha02" - implementation "androidx.fragment:fragment-ktx:1.2.2" + implementation "androidx.core:core-ktx:1.3.0" + implementation "androidx.appcompat:appcompat:1.2.0-rc01" + implementation "androidx.fragment:fragment-ktx:1.2.4" implementation "androidx.browser:browser:1.2.0" implementation "androidx.swiperefreshlayout:swiperefreshlayout:1.0.0" implementation "androidx.recyclerview:recyclerview:1.1.0" - implementation "androidx.exifinterface:exifinterface:1.1.0" + implementation "androidx.exifinterface:exifinterface:1.2.0" implementation "androidx.cardview:cardview:1.0.0" - implementation "androidx.preference:preference:1.1.0" - implementation "androidx.sharetarget:sharetarget:1.0.0-rc01" - implementation "androidx.emoji:emoji:1.1.0-beta01" - implementation "androidx.emoji:emoji-appcompat:1.1.0-beta01" - implementation "androidx.emoji:emoji-bundled:1.1.0-beta01" + implementation "androidx.preference:preference:1.1.1" + implementation "androidx.sharetarget:sharetarget:1.0.0" + implementation "androidx.emoji:emoji:1.1.0-rc01" + implementation "androidx.emoji:emoji-appcompat:1.1.0-rc01" + implementation "androidx.emoji:emoji-bundled:1.1.0-rc01" + implementation "androidx.lifecycle:lifecycle-viewmodel-ktx:$lifecycleVersion" implementation "androidx.lifecycle:lifecycle-livedata-ktx:$lifecycleVersion" implementation "androidx.lifecycle:lifecycle-reactivestreams-ktx:$lifecycleVersion" @@ -162,7 +163,7 @@ dependencies { implementation "com.github.bumptech.glide:glide:$glideVersion" implementation "com.github.bumptech.glide:okhttp3-integration:$glideVersion" - implementation "io.reactivex.rxjava2:rxjava:2.2.16" + implementation "io.reactivex.rxjava2:rxjava:2.2.19" implementation "io.reactivex.rxjava2:rxandroid:2.1.1" implementation "io.reactivex.rxjava2:rxkotlin:2.4.0" diff --git a/app/src/main/res/layout/activity_account.xml b/app/src/main/res/layout/activity_account.xml index 77f0b760..b92ec392 100644 --- a/app/src/main/res/layout/activity_account.xml +++ b/app/src/main/res/layout/activity_account.xml @@ -145,12 +145,12 @@ android:layout_height="16sp" android:layout_marginStart="4dp" android:contentDescription="@string/description_account_locked" - android:tint="?android:textColorSecondary" android:visibility="gone" app:layout_constraintBottom_toBottomOf="@+id/accountUsernameTextView" app:layout_constraintStart_toEndOf="@+id/accountUsernameTextView" app:layout_constraintTop_toTopOf="@+id/accountUsernameTextView" app:srcCompat="@drawable/ic_reblog_private_24dp" + app:tint="?android:textColorSecondary" tools:visibility="visible" /> + tools:parentTag="androidx.constraintlayout.widget.ConstraintLayout"> - + app:srcCompat="@drawable/ic_eye_24dp" + app:tint="@color/white" /> - diff --git a/app/src/main/res/layout/item_report_status.xml b/app/src/main/res/layout/item_report_status.xml index 26b158a0..b7ed0555 100644 --- a/app/src/main/res/layout/item_report_status.xml +++ b/app/src/main/res/layout/item_report_status.xml @@ -194,12 +194,12 @@ android:alpha="0.7" android:contentDescription="@null" android:padding="@dimen/status_sensitive_media_button_padding" - android:tint="@color/white" android:visibility="gone" app:layout_constraintLeft_toLeftOf="@+id/status_media_preview_container" app:layout_constraintTop_toTopOf="@+id/status_media_preview_container" app:srcCompat="@drawable/ic_eye_24dp" - tools:visibility="visible" /> + tools:visibility="visible" + app:tint="@color/white" />