Small UI fixes

This commit is contained in:
Koitharu
2020-04-03 21:20:41 +03:00
parent 904b78a01e
commit 8b28f1cd74
4 changed files with 2 additions and 8 deletions

View File

@@ -1,14 +1,9 @@
package org.koitharu.kotatsu.ui.main.list.history
import android.content.res.ColorStateList
import android.graphics.Color
import android.os.Bundle
import android.view.Menu
import android.view.MenuInflater
import android.view.MenuItem
import android.view.View
import androidx.appcompat.app.AlertDialog
import androidx.core.view.isVisible
import com.google.android.material.snackbar.Snackbar
import kotlinx.android.synthetic.main.fragment_list.*
import moxy.ktx.moxyPresenter

View File

@@ -19,9 +19,6 @@ class PageThumbnailHolder(parent: ViewGroup, private val scope: CoroutineScope)
private val thumbSize: Size
init {
// FIXME
// val color = DrawUtils.invertColor(textView_number.currentTextColor)
// textView_number.setShadowLayer(parent.resources.resolveDp(26f), 0f, 0f, color)
val width = itemView.context.resources.getDimensionPixelSize(R.dimen.preferred_grid_width)
thumbSize = PixelSize(
width = width,