mirror of
https://github.com/aniyomiorg/aniyomi.git
synced 2024-11-28 09:15:12 +03:00
Remove star icon option
This commit is contained in:
parent
8aa48effaa
commit
340829bb71
3 changed files with 1 additions and 5 deletions
|
@ -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<MangaInfoPresenter>(),
|
|||
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<MangaInfoPresenter>(),
|
|||
0 -> circleCrop()
|
||||
1 -> transform(RoundedCorners(5))
|
||||
2 -> transform(CropSquareTransformation())
|
||||
3 -> centerCrop().transform(MaskTransformation(R.drawable.mask_star))
|
||||
}
|
||||
}
|
||||
.into(object : CustomTarget<Bitmap>(96, 96) {
|
||||
|
|
Binary file not shown.
Before Width: | Height: | Size: 585 B |
|
@ -369,7 +369,6 @@
|
|||
<string name="circular_icon">Circular</string>
|
||||
<string name="rounded_icon">Rounded</string>
|
||||
<string name="square_icon">Square</string>
|
||||
<string name="star_icon">Star</string>
|
||||
<string name="shortcut_title">Shortcut title</string>
|
||||
<string name="shortcut_created">Shortcut was added to home screen.</string>
|
||||
<string name="icon_shape">Icon shape</string>
|
||||
|
|
Loading…
Reference in a new issue