Add icons for flagless custom apps
@ -175,7 +175,7 @@ object CustomApps {
|
||||
)
|
||||
|
||||
private fun parseVersionNameFromUrlOrUsePattern(url: String, pattern: String) =
|
||||
(url.substringAfterLast("_")
|
||||
url.substringAfterLast("_")
|
||||
.substringBeforeLast(".")
|
||||
.takeIf {
|
||||
try {
|
||||
@ -184,7 +184,7 @@ object CustomApps {
|
||||
false
|
||||
}
|
||||
}
|
||||
?: formatDate(pattern))
|
||||
?: formatDate(pattern)
|
||||
|
||||
private fun formatDate(pattern: String) =
|
||||
Date().let(SimpleDateFormat(pattern, Locale.ROOT)::format)
|
||||
|
BIN
custom/src/wikimedar/ic_launcher-web.png
Normal file
After Width: | Height: | Size: 56 KiB |
BIN
custom/src/wikimedar/res/drawable/kiwix_icon_with_title.png
Normal file
After Width: | Height: | Size: 20 KiB |
@ -0,0 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<background android:drawable="@color/ic_launcher_background"/>
|
||||
<foreground android:drawable="@mipmap/ic_launcher_foreground"/>
|
||||
</adaptive-icon>
|
@ -0,0 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<background android:drawable="@color/ic_launcher_background"/>
|
||||
<foreground android:drawable="@mipmap/ic_launcher_foreground"/>
|
||||
</adaptive-icon>
|
BIN
custom/src/wikimedar/res/mipmap-hdpi/ic_launcher.png
Normal file
After Width: | Height: | Size: 3.8 KiB |
BIN
custom/src/wikimedar/res/mipmap-hdpi/ic_launcher_foreground.png
Normal file
After Width: | Height: | Size: 6.3 KiB |
BIN
custom/src/wikimedar/res/mipmap-hdpi/ic_launcher_round.png
Normal file
After Width: | Height: | Size: 6.1 KiB |
BIN
custom/src/wikimedar/res/mipmap-mdpi/ic_launcher.png
Normal file
After Width: | Height: | Size: 2.3 KiB |
BIN
custom/src/wikimedar/res/mipmap-mdpi/ic_launcher_foreground.png
Normal file
After Width: | Height: | Size: 3.7 KiB |
BIN
custom/src/wikimedar/res/mipmap-mdpi/ic_launcher_round.png
Normal file
After Width: | Height: | Size: 3.6 KiB |
BIN
custom/src/wikimedar/res/mipmap-xhdpi/ic_launcher.png
Normal file
After Width: | Height: | Size: 5.5 KiB |
BIN
custom/src/wikimedar/res/mipmap-xhdpi/ic_launcher_foreground.png
Normal file
After Width: | Height: | Size: 9.3 KiB |
BIN
custom/src/wikimedar/res/mipmap-xhdpi/ic_launcher_round.png
Normal file
After Width: | Height: | Size: 8.9 KiB |
BIN
custom/src/wikimedar/res/mipmap-xxhdpi/ic_launcher.png
Normal file
After Width: | Height: | Size: 9.2 KiB |
After Width: | Height: | Size: 16 KiB |
BIN
custom/src/wikimedar/res/mipmap-xxhdpi/ic_launcher_round.png
Normal file
After Width: | Height: | Size: 15 KiB |
BIN
custom/src/wikimedar/res/mipmap-xxxhdpi/ic_launcher.png
Normal file
After Width: | Height: | Size: 13 KiB |
After Width: | Height: | Size: 25 KiB |
BIN
custom/src/wikimedar/res/mipmap-xxxhdpi/ic_launcher_round.png
Normal file
After Width: | Height: | Size: 22 KiB |
@ -0,0 +1,4 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<color name="ic_launcher_background">#FFFFFF</color>
|
||||
</resources>
|
BIN
custom/src/wikimedde/ic_launcher-web.png
Normal file
After Width: | Height: | Size: 60 KiB |
BIN
custom/src/wikimedde/res/drawable/kiwix_icon_with_title.png
Normal file
After Width: | Height: | Size: 21 KiB |
@ -0,0 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<background android:drawable="@color/ic_launcher_background"/>
|
||||
<foreground android:drawable="@mipmap/ic_launcher_foreground"/>
|
||||
</adaptive-icon>
|
@ -0,0 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<background android:drawable="@color/ic_launcher_background"/>
|
||||
<foreground android:drawable="@mipmap/ic_launcher_foreground"/>
|
||||
</adaptive-icon>
|
BIN
custom/src/wikimedde/res/mipmap-hdpi/ic_launcher.png
Normal file
After Width: | Height: | Size: 4.3 KiB |
BIN
custom/src/wikimedde/res/mipmap-hdpi/ic_launcher_foreground.png
Normal file
After Width: | Height: | Size: 6.8 KiB |
BIN
custom/src/wikimedde/res/mipmap-hdpi/ic_launcher_round.png
Normal file
After Width: | Height: | Size: 6.6 KiB |
BIN
custom/src/wikimedde/res/mipmap-mdpi/ic_launcher.png
Normal file
After Width: | Height: | Size: 2.6 KiB |
BIN
custom/src/wikimedde/res/mipmap-mdpi/ic_launcher_foreground.png
Normal file
After Width: | Height: | Size: 4.1 KiB |
BIN
custom/src/wikimedde/res/mipmap-mdpi/ic_launcher_round.png
Normal file
After Width: | Height: | Size: 4.0 KiB |
BIN
custom/src/wikimedde/res/mipmap-xhdpi/ic_launcher.png
Normal file
After Width: | Height: | Size: 6.1 KiB |
BIN
custom/src/wikimedde/res/mipmap-xhdpi/ic_launcher_foreground.png
Normal file
After Width: | Height: | Size: 10 KiB |
BIN
custom/src/wikimedde/res/mipmap-xhdpi/ic_launcher_round.png
Normal file
After Width: | Height: | Size: 9.5 KiB |
BIN
custom/src/wikimedde/res/mipmap-xxhdpi/ic_launcher.png
Normal file
After Width: | Height: | Size: 10 KiB |
After Width: | Height: | Size: 18 KiB |
BIN
custom/src/wikimedde/res/mipmap-xxhdpi/ic_launcher_round.png
Normal file
After Width: | Height: | Size: 16 KiB |
BIN
custom/src/wikimedde/res/mipmap-xxxhdpi/ic_launcher.png
Normal file
After Width: | Height: | Size: 14 KiB |
After Width: | Height: | Size: 28 KiB |
BIN
custom/src/wikimedde/res/mipmap-xxxhdpi/ic_launcher_round.png
Normal file
After Width: | Height: | Size: 23 KiB |
@ -0,0 +1,4 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<color name="ic_launcher_background">#FFFFFF</color>
|
||||
</resources>
|
BIN
custom/src/wikimedfa/ic_launcher-web.png
Normal file
After Width: | Height: | Size: 61 KiB |
BIN
custom/src/wikimedfa/res/drawable/kiwix_icon_with_title.png
Normal file
After Width: | Height: | Size: 21 KiB |
@ -0,0 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<background android:drawable="@color/ic_launcher_background"/>
|
||||
<foreground android:drawable="@mipmap/ic_launcher_foreground"/>
|
||||
</adaptive-icon>
|
@ -0,0 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<background android:drawable="@color/ic_launcher_background"/>
|
||||
<foreground android:drawable="@mipmap/ic_launcher_foreground"/>
|
||||
</adaptive-icon>
|
BIN
custom/src/wikimedfa/res/mipmap-hdpi/ic_launcher.png
Normal file
After Width: | Height: | Size: 4.2 KiB |
BIN
custom/src/wikimedfa/res/mipmap-hdpi/ic_launcher_foreground.png
Normal file
After Width: | Height: | Size: 6.9 KiB |
BIN
custom/src/wikimedfa/res/mipmap-hdpi/ic_launcher_round.png
Normal file
After Width: | Height: | Size: 6.6 KiB |
BIN
custom/src/wikimedfa/res/mipmap-mdpi/ic_launcher.png
Normal file
After Width: | Height: | Size: 2.6 KiB |
BIN
custom/src/wikimedfa/res/mipmap-mdpi/ic_launcher_foreground.png
Normal file
After Width: | Height: | Size: 4.1 KiB |
BIN
custom/src/wikimedfa/res/mipmap-mdpi/ic_launcher_round.png
Normal file
After Width: | Height: | Size: 3.9 KiB |
BIN
custom/src/wikimedfa/res/mipmap-xhdpi/ic_launcher.png
Normal file
After Width: | Height: | Size: 6.0 KiB |
BIN
custom/src/wikimedfa/res/mipmap-xhdpi/ic_launcher_foreground.png
Normal file
After Width: | Height: | Size: 10 KiB |
BIN
custom/src/wikimedfa/res/mipmap-xhdpi/ic_launcher_round.png
Normal file
After Width: | Height: | Size: 9.6 KiB |
BIN
custom/src/wikimedfa/res/mipmap-xxhdpi/ic_launcher.png
Normal file
After Width: | Height: | Size: 9.9 KiB |
After Width: | Height: | Size: 18 KiB |
BIN
custom/src/wikimedfa/res/mipmap-xxhdpi/ic_launcher_round.png
Normal file
After Width: | Height: | Size: 16 KiB |
BIN
custom/src/wikimedfa/res/mipmap-xxxhdpi/ic_launcher.png
Normal file
After Width: | Height: | Size: 14 KiB |
After Width: | Height: | Size: 28 KiB |
BIN
custom/src/wikimedfa/res/mipmap-xxxhdpi/ic_launcher_round.png
Normal file
After Width: | Height: | Size: 23 KiB |
@ -0,0 +1,4 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<color name="ic_launcher_background">#FFFFFF</color>
|
||||
</resources>
|
BIN
custom/src/wikimedpt/ic_launcher-web.png
Normal file
After Width: | Height: | Size: 64 KiB |
BIN
custom/src/wikimedpt/res/drawable/kiwix_icon_with_title.png
Normal file
After Width: | Height: | Size: 23 KiB |
@ -0,0 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<background android:drawable="@color/ic_launcher_background"/>
|
||||
<foreground android:drawable="@mipmap/ic_launcher_foreground"/>
|
||||
</adaptive-icon>
|
@ -0,0 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<background android:drawable="@color/ic_launcher_background"/>
|
||||
<foreground android:drawable="@mipmap/ic_launcher_foreground"/>
|
||||
</adaptive-icon>
|
BIN
custom/src/wikimedpt/res/mipmap-hdpi/ic_launcher.png
Normal file
After Width: | Height: | Size: 4.2 KiB |
BIN
custom/src/wikimedpt/res/mipmap-hdpi/ic_launcher_foreground.png
Normal file
After Width: | Height: | Size: 7.1 KiB |
BIN
custom/src/wikimedpt/res/mipmap-hdpi/ic_launcher_round.png
Normal file
After Width: | Height: | Size: 6.6 KiB |
BIN
custom/src/wikimedpt/res/mipmap-mdpi/ic_launcher.png
Normal file
After Width: | Height: | Size: 2.5 KiB |
BIN
custom/src/wikimedpt/res/mipmap-mdpi/ic_launcher_foreground.png
Normal file
After Width: | Height: | Size: 4.2 KiB |
BIN
custom/src/wikimedpt/res/mipmap-mdpi/ic_launcher_round.png
Normal file
After Width: | Height: | Size: 3.9 KiB |
BIN
custom/src/wikimedpt/res/mipmap-xhdpi/ic_launcher.png
Normal file
After Width: | Height: | Size: 6.1 KiB |
BIN
custom/src/wikimedpt/res/mipmap-xhdpi/ic_launcher_foreground.png
Normal file
After Width: | Height: | Size: 11 KiB |
BIN
custom/src/wikimedpt/res/mipmap-xhdpi/ic_launcher_round.png
Normal file
After Width: | Height: | Size: 9.7 KiB |
BIN
custom/src/wikimedpt/res/mipmap-xxhdpi/ic_launcher.png
Normal file
After Width: | Height: | Size: 10 KiB |
After Width: | Height: | Size: 19 KiB |
BIN
custom/src/wikimedpt/res/mipmap-xxhdpi/ic_launcher_round.png
Normal file
After Width: | Height: | Size: 16 KiB |
BIN
custom/src/wikimedpt/res/mipmap-xxxhdpi/ic_launcher.png
Normal file
After Width: | Height: | Size: 15 KiB |
After Width: | Height: | Size: 29 KiB |
BIN
custom/src/wikimedpt/res/mipmap-xxxhdpi/ic_launcher_round.png
Normal file
After Width: | Height: | Size: 24 KiB |
@ -0,0 +1,4 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<color name="ic_launcher_background">#FFFFFF</color>
|
||||
</resources>
|