diff --git a/app/build.gradle b/app/build.gradle
index 845e92ad..169db7fd 100644
--- a/app/build.gradle
+++ b/app/build.gradle
@@ -74,21 +74,22 @@ android {
}
}
-ext.daggerVersion = '2.19'
+ext.daggerVersion = '2.21'
// if libraries are changed here, they should also be changed in LicenseActivity
dependencies {
implementation('com.mikepenz:materialdrawer:6.1.1@aar') {
transitive = true
}
+ implementation 'androidx.core:core:1.0.1'
implementation 'androidx.appcompat:appcompat:1.0.2'
implementation 'androidx.browser:browser:1.0.0'
implementation 'androidx.recyclerview:recyclerview:1.0.0'
implementation 'androidx.legacy:legacy-support-v13:1.0.0'
- implementation 'com.google.android.material:material:1.1.0-alpha02'
+ implementation 'com.google.android.material:material:1.1.0-alpha03'
implementation 'androidx.exifinterface:exifinterface:1.0.0'
implementation 'androidx.cardview:cardview:1.0.0'
- implementation 'androidx.preference:preference:1.1.0-alpha02'
+ implementation 'androidx.preference:preference:1.1.0-alpha03'
implementation 'com.squareup.retrofit2:retrofit:2.5.0'
implementation 'com.squareup.retrofit2:converter-gson:2.5.0'
implementation 'com.squareup.retrofit2:adapter-rxjava2:2.5.0'
@@ -122,7 +123,7 @@ dependencies {
implementation "com.google.dagger:dagger-android-support:$daggerVersion"
kapt "com.google.dagger:dagger-android-processor:$daggerVersion"
testImplementation 'org.robolectric:robolectric:4.1'
- testImplementation 'org.mockito:mockito-inline:2.23.4'
+ testImplementation 'org.mockito:mockito-inline:2.24.0'
testImplementation "com.nhaarman.mockitokotlin2:mockito-kotlin:2.1.0"
androidTestImplementation('androidx.test.espresso:espresso-core:3.1.0', {
exclude group: 'com.android.support', module: 'support-annotations'
@@ -130,7 +131,7 @@ dependencies {
androidTestImplementation('android.arch.persistence.room:testing:1.1.1')
androidTestImplementation "androidx.test.ext:junit:1.1.0"
debugImplementation 'im.dino:dbinspector:3.4.1@aar'
- implementation 'io.reactivex.rxjava2:rxjava:2.2.4'
+ implementation 'io.reactivex.rxjava2:rxjava:2.2.6'
implementation 'io.reactivex.rxjava2:rxandroid:2.1.0'
implementation 'io.reactivex.rxjava2:rxkotlin:2.3.0'
implementation 'com.squareup.retrofit2:adapter-rxjava2:2.5.0'
diff --git a/app/src/main/java/com/keylesspalace/tusky/di/ActivitiesModule.kt b/app/src/main/java/com/keylesspalace/tusky/di/ActivitiesModule.kt
index d51b314c..30e5834c 100644
--- a/app/src/main/java/com/keylesspalace/tusky/di/ActivitiesModule.kt
+++ b/app/src/main/java/com/keylesspalace/tusky/di/ActivitiesModule.kt
@@ -62,13 +62,13 @@ abstract class ActivitiesModule {
@ContributesAndroidInjector(modules = [FragmentBuildersModule::class])
abstract fun contribtutesSearchAvtivity(): SearchActivity
- @ContributesAndroidInjector()
+ @ContributesAndroidInjector
abstract fun contributesAboutActivity(): AboutActivity
- @ContributesAndroidInjector()
+ @ContributesAndroidInjector
abstract fun contributesLoginActivity(): LoginActivity
- @ContributesAndroidInjector()
+ @ContributesAndroidInjector
abstract fun contributesSplashActivity(): SplashActivity
@ContributesAndroidInjector
diff --git a/app/src/main/java/com/keylesspalace/tusky/di/NetworkModule.kt b/app/src/main/java/com/keylesspalace/tusky/di/NetworkModule.kt
index 896aca15..3acffc06 100644
--- a/app/src/main/java/com/keylesspalace/tusky/di/NetworkModule.kt
+++ b/app/src/main/java/com/keylesspalace/tusky/di/NetworkModule.kt
@@ -47,7 +47,7 @@ import javax.inject.Singleton
@Module
class NetworkModule {
@Provides
- @IntoMap()
+ @IntoMap
@ClassKey(Spanned::class)
fun providesSpannedTypeAdapter(): JsonDeserializer<*> = SpannedTypeAdapter()
diff --git a/app/src/main/java/com/keylesspalace/tusky/view/ComposeOptionsView.kt b/app/src/main/java/com/keylesspalace/tusky/view/ComposeOptionsView.kt
index b7f2518a..73bc21a2 100644
--- a/app/src/main/java/com/keylesspalace/tusky/view/ComposeOptionsView.kt
+++ b/app/src/main/java/com/keylesspalace/tusky/view/ComposeOptionsView.kt
@@ -16,7 +16,6 @@
package com.keylesspalace.tusky.view
import android.content.Context
-import android.os.Build
import android.util.AttributeSet
import android.widget.LinearLayout
import com.keylesspalace.tusky.R
diff --git a/app/src/main/java/com/keylesspalace/tusky/view/MediaPreviewImageView.kt b/app/src/main/java/com/keylesspalace/tusky/view/MediaPreviewImageView.kt
index 52344266..9f55112e 100644
--- a/app/src/main/java/com/keylesspalace/tusky/view/MediaPreviewImageView.kt
+++ b/app/src/main/java/com/keylesspalace/tusky/view/MediaPreviewImageView.kt
@@ -99,7 +99,7 @@ defStyleAttr: Int = 0
* that the custom matrix of this image is initialized if a focus point is set.
*/
override fun onSuccess() {
- onSizeChanged(width, height, width, height);
+ onSizeChanged(width, height, width, height)
}
// We do not handle the error here, instead it will be handled higher up the call chain.
diff --git a/app/src/main/res/layout/activity_account.xml b/app/src/main/res/layout/activity_account.xml
index 6a198ce2..0a9a39d3 100644
--- a/app/src/main/res/layout/activity_account.xml
+++ b/app/src/main/res/layout/activity_account.xml
@@ -135,7 +135,6 @@
android:id="@+id/accountNoteTextView"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
- android:layout_below="@id/labelBarrier"
android:lineSpacingMultiplier="1.1"
android:paddingTop="10dp"
android:textColor="?android:textColorTertiary"
diff --git a/app/src/main/res/layout/dialog_emojicompat.xml b/app/src/main/res/layout/dialog_emojicompat.xml
index cd116de4..00141293 100644
--- a/app/src/main/res/layout/dialog_emojicompat.xml
+++ b/app/src/main/res/layout/dialog_emojicompat.xml
@@ -9,7 +9,8 @@
android:id="@+id/emoji_font_list"
android:layout_width="match_parent"
android:layout_height="wrap_content"
- android:orientation="vertical">
+ android:orientation="vertical"
+ app:layout_constraintTop_toTopOf="parent">
\ No newline at end of file
diff --git a/app/src/main/res/layout/item_account_field.xml b/app/src/main/res/layout/item_account_field.xml
index 46357c01..40112b66 100644
--- a/app/src/main/res/layout/item_account_field.xml
+++ b/app/src/main/res/layout/item_account_field.xml
@@ -4,7 +4,6 @@
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="wrap_content"
- android:orientation="horizontal"
android:paddingTop="4dp">
@@ -18,6 +17,7 @@
android:textColor="?android:textColorPrimary"
android:textSize="?attr/status_text_medium"
app:layout_constraintStart_toStartOf="parent"
+ app:layout_constraintTop_toTopOf="parent"
app:layout_constraintWidth_percent=".3"
tools:text="Field title" />
@@ -33,6 +33,7 @@
app:layout_constrainedWidth="true"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toEndOf="@+id/accountFieldName"
+ app:layout_constraintTop_toTopOf="parent"
tools:text="Field content. This can contain links and custom emojis" />
\ No newline at end of file
diff --git a/app/src/main/res/layout/item_status.xml b/app/src/main/res/layout/item_status.xml
index b291bb4b..01124992 100644
--- a/app/src/main/res/layout/item_status.xml
+++ b/app/src/main/res/layout/item_status.xml
@@ -308,7 +308,9 @@
android:drawablePadding="4dp"
android:gravity="center_vertical"
android:textSize="?attr/status_text_medium"
- android:visibility="gone" />
+ android:visibility="gone"
+ app:layout_constraintStart_toStartOf="parent"
+ app:layout_constraintTop_toTopOf="parent" />
diff --git a/app/src/main/res/layout/item_status_detailed.xml b/app/src/main/res/layout/item_status_detailed.xml
index 1dbc158f..47ff6b24 100644
--- a/app/src/main/res/layout/item_status_detailed.xml
+++ b/app/src/main/res/layout/item_status_detailed.xml
@@ -72,6 +72,7 @@
android:lineSpacingMultiplier="1.1"
android:textColor="?android:textColorPrimary"
android:textSize="?attr/status_text_large"
+ app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/status_avatar"
tools:text="CW this is a long long long long long long long long content warning" />
@@ -313,7 +314,9 @@
android:drawablePadding="4dp"
android:gravity="center_vertical"
android:textSize="?attr/status_text_medium"
- android:visibility="gone" />
+ android:visibility="gone"
+ app:layout_constraintStart_toStartOf="parent"
+ app:layout_constraintTop_toTopOf="parent" />
diff --git a/app/src/main/res/layout/view_account_moved.xml b/app/src/main/res/layout/view_account_moved.xml
index 5fca0c41..373ed471 100644
--- a/app/src/main/res/layout/view_account_moved.xml
+++ b/app/src/main/res/layout/view_account_moved.xml
@@ -4,8 +4,8 @@
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="wrap_content"
- android:paddingBottom="12dp"
- android:paddingTop="12dp">
+ android:paddingTop="12dp"
+ android:paddingBottom="12dp">
diff --git a/app/src/main/res/values-eu/strings.xml b/app/src/main/res/values-eu/strings.xml
index 4c4297bb..86d9ff20 100644
--- a/app/src/main/res/values-eu/strings.xml
+++ b/app/src/main/res/values-eu/strings.xml
@@ -56,7 +56,7 @@
%s-(e)k zure tuta gogoko du
%s-(e)k jarraitu dizu
- @%s salatu
+ \@%s salatu
Informazio gehigarria?
Erantzun azkarra
@@ -288,7 +288,7 @@
Jarraitzen zaitu
Eduki mingarria erakutsi
Multimedia
- @%s-ri erantzuten
+ \@%s-ri erantzuten
Gehiago erakutsi
Gehitu kontua
diff --git a/build.gradle b/build.gradle
index 77b6ae09..380125e7 100644
--- a/build.gradle
+++ b/build.gradle
@@ -1,14 +1,14 @@
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
- ext.kotlin_version = '1.3.11'
+ ext.kotlin_version = '1.3.21'
repositories {
jcenter()
google()
}
dependencies {
classpath 'com.android.tools.build.jetifier:jetifier-processor:1.0.0-beta02'
- classpath 'com.android.tools.build:gradle:3.3.0'
+ classpath 'com.android.tools.build:gradle:3.3.1'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
}
}