From 340829bb718c4d805488cda52c0d6c16a1564ea1 Mon Sep 17 00:00:00 2001 From: arkon Date: Sun, 9 Feb 2020 17:32:41 -0500 Subject: [PATCH] Remove star icon option --- .../ui/manga/info/MangaInfoController.kt | 5 +---- app/src/main/res/drawable/mask_star.png | Bin 585 -> 0 bytes app/src/main/res/values/strings.xml | 1 - 3 files changed, 1 insertion(+), 5 deletions(-) delete mode 100644 app/src/main/res/drawable/mask_star.png diff --git a/app/src/main/java/eu/kanade/tachiyomi/ui/manga/info/MangaInfoController.kt b/app/src/main/java/eu/kanade/tachiyomi/ui/manga/info/MangaInfoController.kt index 74fca137c..df99533cd 100644 --- a/app/src/main/java/eu/kanade/tachiyomi/ui/manga/info/MangaInfoController.kt +++ b/app/src/main/java/eu/kanade/tachiyomi/ui/manga/info/MangaInfoController.kt @@ -46,7 +46,6 @@ import eu.kanade.tachiyomi.util.lang.truncateCenter import eu.kanade.tachiyomi.util.system.toast import eu.kanade.tachiyomi.util.view.snack import jp.wasabeef.glide.transformations.CropSquareTransformation -import jp.wasabeef.glide.transformations.MaskTransformation import kotlinx.android.synthetic.main.manga_info_controller.* import uy.kohesive.injekt.injectLazy import java.text.DateFormat @@ -444,8 +443,7 @@ class MangaInfoController : NucleusController(), override fun onCreateDialog(savedViewState: Bundle?): Dialog { val modes = intArrayOf(R.string.circular_icon, R.string.rounded_icon, - R.string.square_icon, - R.string.star_icon) + R.string.square_icon) return MaterialDialog.Builder(activity!!) .title(R.string.icon_shape) @@ -475,7 +473,6 @@ class MangaInfoController : NucleusController(), 0 -> circleCrop() 1 -> transform(RoundedCorners(5)) 2 -> transform(CropSquareTransformation()) - 3 -> centerCrop().transform(MaskTransformation(R.drawable.mask_star)) } } .into(object : CustomTarget(96, 96) { diff --git a/app/src/main/res/drawable/mask_star.png b/app/src/main/res/drawable/mask_star.png deleted file mode 100644 index 5d3c119538568147cb14b47f1978d4a76bbd8a13..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 585 zcmV-P0=E5$P) zfLQG3lZR74Sm5Q;r-MLv=;Nx#vlHWE0d$0*G=nsRpmYN@0ipB*8beT-K@B0O+`vW< zRCe&Jd$9r#j{7k%KURD(3jnLi_9{Dv}wHQUg(O}&l-zc<~15Eh?J3ZH8MVBB#nmVr|O32H)OKJLD+mp z=hc^CE?0Bo!|w|^+|CaFS+lf;!OD-F>xJ>Lk+l0o?W*PCircular Rounded Square - Star Shortcut title Shortcut was added to home screen. Icon shape