Add icon for Open source licenses

This commit is contained in:
Soitora 2021-05-20 03:45:01 +02:00
parent 7272f89db3
commit 9b73f8443d
No known key found for this signature in database
GPG Key ID: 988AF7C07F7FFC37
2 changed files with 12 additions and 0 deletions

View File

@ -138,6 +138,9 @@ class AboutController : SettingsController() {
preference {
key = "pref_about_licenses"
titleRes = R.string.licenses
iconRes = R.drawable.ic_code_tags_24dp
iconTint = tintColor
onClick {
LibsBuilder()
.withActivityTitle(activity!!.getString(R.string.licenses))

View File

@ -0,0 +1,9 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="24dp"
android:height="24dp"
android:viewportWidth="24"
android:viewportHeight="24">
<path
android:fillColor="@android:color/black"
android:pathData="M14.6,16.6L19.2,12L14.6,7.4L16,6L22,12L16,18L14.6,16.6M9.4,16.6L4.8,12L9.4,7.4L8,6L2,12L8,18L9.4,16.6Z" />
</vector>