fix(status): AMSAT page load failure, refresh spinner, retry button
- P0: fetchStatus() now runs on Dispatchers.IO - the previous synchronous URLConnection on the main thread threw NetworkOnMainThreadException and showed "load failed" on every open - P1: refresh button rotates a vector icon (ic_refresh) instead of the "↻" text glyph, whose off-center font metrics made the spinner orbit around a shifted pivot - P2: error state gains a Retry button (4 locales); amsat_refresh string added (5 locales) - versionCode 456 (bump for reinstalling over 455), versionName stays 4.5.5
This commit is contained in:
1 parent
6221516893
commit
f789a15338
9 files changed
+47
-10
No files matched your search
@@ -0,0 +1,12 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- Standard Material refresh icon (24dp viewport), centered geometry -->
|
||||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="24dp"
|
||||
android:height="24dp"
|
||||
android:viewportWidth="24"
|
||||
android:viewportHeight="24"
|
||||
android:tint="?attr/colorControlNormal">
|
||||
<path
|
||||
android:fillColor="#FF000000"
|
||||
android:pathData="M17.65,6.35C16.2,4.9 14.21,4 12,4c-4.42,0 -7.99,3.58 -7.99,8s3.57,8 7.99,8c3.73,0 6.84,-2.55 7.73,-6h-2.08c-0.82,2.33 -3.04,4 -5.65,4 -3.31,0 -6,-2.69 -6,-6s2.69,-6 6,-6c1.66,0 3.14,0.69 4.22,1.78L13,11h7V4l-2.35,2.35z" />
|
||||
</vector>
|
||||
Reference in new issue
Block a user