Adjust download badge color again

This commit is contained in:
arkon 2020-08-02 23:03:24 -04:00
parent 40a9595012
commit 912687ac78
7 changed files with 17 additions and 17 deletions

View file

@ -76,6 +76,6 @@ internal class ExtensionGithubApi {
companion object {
const val BASE_URL = "https://raw.githubusercontent.com/"
private const val REPO_URL_PREFIX = "${BASE_URL}inorichi/tachiyomi-extensions/repo/"
const val REPO_URL_PREFIX = "${BASE_URL}inorichi/tachiyomi-extensions/repo/"
}
}

View file

@ -37,6 +37,6 @@ interface ExtensionGithubService {
}
}
@GET("/inorichi/tachiyomi-extensions/repo/index.json.gz")
@GET("${ExtensionGithubApi.REPO_URL_PREFIX}index.json.gz")
suspend fun getRepo(): JsonArray
}

View file

@ -14,7 +14,7 @@
android:id="@+id/downloaded_only"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@color/pale_green"
android:background="@color/green"
android:visibility="gone"
tools:visibility="visible">
@ -24,7 +24,7 @@
android:layout_gravity="center"
android:padding="4dp"
android:text="@string/label_downloaded_only"
android:textColor="@color/md_black_1000" />
android:textColor="@color/md_white_1000" />
</FrameLayout>

View file

@ -41,13 +41,13 @@
style="@style/TextAppearance.Regular.Caption"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:background="@color/pale_green"
android:background="@color/green"
android:paddingStart="3dp"
android:paddingTop="1dp"
android:paddingEnd="3dp"
android:paddingBottom="1dp"
android:text="@string/local_source_badge"
android:textColor="@color/md_black_1000"
android:textColor="@color/md_white_1000"
android:visibility="gone"
tools:visibility="visible" />
@ -56,12 +56,12 @@
style="@style/TextAppearance.Regular.Caption"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:background="@color/pale_green"
android:background="@color/green"
android:paddingStart="3dp"
android:paddingTop="1dp"
android:paddingEnd="3dp"
android:paddingBottom="1dp"
android:textColor="@color/md_black_1000"
android:textColor="@color/md_white_1000"
android:visibility="gone"
tools:text="120"
tools:visibility="visible" />

View file

@ -41,13 +41,13 @@
style="@style/TextAppearance.Regular.Caption"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:background="@color/pale_green"
android:background="@color/green"
android:paddingStart="3dp"
android:paddingTop="1dp"
android:paddingEnd="3dp"
android:paddingBottom="1dp"
android:text="@string/local_source_badge"
android:textColor="@color/md_black_1000"
android:textColor="@color/md_white_1000"
android:visibility="gone"
tools:visibility="visible" />
@ -56,12 +56,12 @@
style="@style/TextAppearance.Regular.Caption"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:background="@color/pale_green"
android:background="@color/green"
android:paddingStart="3dp"
android:paddingTop="1dp"
android:paddingEnd="3dp"
android:paddingBottom="1dp"
android:textColor="@color/md_black_1000"
android:textColor="@color/md_white_1000"
android:visibility="gone"
tools:text="120"
tools:visibility="visible" />

View file

@ -54,14 +54,14 @@
style="@style/TextAppearance.Regular.Caption"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:background="@color/pale_green"
android:background="@color/green"
android:maxLines="1"
android:paddingStart="3dp"
android:paddingTop="1dp"
android:paddingEnd="3dp"
android:paddingBottom="1dp"
android:text="@string/local_source_badge"
android:textColor="@color/md_black_1000"
android:textColor="@color/md_white_1000"
android:visibility="gone"
tools:visibility="visible" />
@ -70,13 +70,13 @@
style="@style/TextAppearance.Regular.Caption"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:background="@color/pale_green"
android:background="@color/green"
android:maxLines="1"
android:paddingStart="3dp"
android:paddingTop="1dp"
android:paddingEnd="3dp"
android:paddingBottom="1dp"
android:textColor="@color/md_black_1000"
android:textColor="@color/md_white_1000"
android:visibility="gone"
tools:text="122"
tools:visibility="visible" />

View file

@ -74,6 +74,6 @@
<color name="md_blue_grey_900">#263238</color>
<color name="md_blue_grey_800">#37474F</color>
<color name="pale_green">#AAE1AA</color>
<color name="green">#47a84a</color>
</resources>