Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 66c4eece authored by Philipp Heckel's avatar Philipp Heckel
Browse files

Tiny fix for ShareActivity; 23/1.9.1

parent 3ec1208e
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -12,8 +12,8 @@ android {
        minSdkVersion 21
        targetSdkVersion 31

        versionCode 22
        versionName "1.9.0"
        versionCode 23
        versionName "1.9.1"

        testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"

@@ -93,7 +93,7 @@ dependencies {
    implementation "com.google.android.material:material:1.5.0"

    // LiveData
    implementation "androidx.lifecycle:lifecycle-livedata-ktx:2.4.0"
    implementation "androidx.lifecycle:lifecycle-livedata-ktx:2.4.1"
    implementation 'androidx.legacy:legacy-support-v4:1.0.0'

    // Image viewer
+2 −1
Original line number Diff line number Diff line
@@ -133,8 +133,9 @@ class ShareActivity : AppCompatActivity() {
            suggestedTopicsList.adapter = TopicAdapter(suggestedTopics) { topicUrl ->
                try {
                    val (baseUrl, topic) = splitTopicUrl(topicUrl)
                    val defaultUrl = defaultBaseUrl ?: appBaseUrl
                    topicText.text = topic
                    if (baseUrl == defaultBaseUrl) {
                    if (baseUrl == defaultUrl) {
                        useAnotherServerCheckbox.isChecked = false
                    } else {
                        useAnotherServerCheckbox.isChecked = true