2 Revīzijas 876fdaf9c8 ... da70d742cb

Autors SHA1 Ziņojums Datums
  Bixilon da70d742cb bump html-textview 2 gadi atpakaļ
  Bixilon 4b5fb3167f fix crash in swipe layout 2 gadi atpakaļ

+ 1 - 1
app/build.gradle

@@ -78,7 +78,7 @@ dependencies {
     implementation 'androidx.vectordrawable:vectordrawable:1.1.0'
     implementation 'androidx.cardview:cardview:1.0.0'
     implementation 'com.github.MikeOrtiz:TouchImageView:3.0.1'
-    implementation 'org.sufficientlysecure:html-textview:3.6'
+    implementation 'org.sufficientlysecure:html-textview:4.0' // ToDo: This is still only on jcenter!!!
     implementation 'com.github.DASAR:ShiftColorPicker:v0.5'
     implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version"
     implementation 'com.squareup.picasso:picasso:2.71828'

+ 3 - 1
app/src/main/java/godau/fynn/dsbdirect/activity/MainActivity.java

@@ -1074,7 +1074,9 @@ public class MainActivity extends AppCompatActivity {
 
         // Reset pagePicker position
         ((HorizontalPicker) findViewById(R.id.page)).setSelectedItem(0);
-        mSwipeLayout.setRefreshing(false);
+        if (mSwipeLayout != null) {
+            mSwipeLayout.setRefreshing(false);
+        }
     }
 
     @Override