Wrong card background fix + bump gradle version (#337)

This commit is contained in:
Bram van de Kerkhof
2016-06-07 20:14:36 +02:00
parent dad9dcd742
commit 172305fc6a
10 changed files with 16 additions and 16 deletions

View File

@ -23,7 +23,7 @@ class RecentlyReadAdapter(val fragment: RecentlyReadFragment)
* @param viewType int containing viewType
*/
override fun onCreateViewHolder(parent: ViewGroup, viewType: Int): RecentlyReadHolder {
val view = parent.inflate(R.layout.item_recent_manga)
val view = parent.inflate(R.layout.item_recently_read)
return RecentlyReadHolder(view, this)
}

View File

@ -14,12 +14,12 @@ import eu.kanade.tachiyomi.ui.main.MainActivity
import eu.kanade.tachiyomi.ui.manga.MangaActivity
import eu.kanade.tachiyomi.ui.reader.ReaderActivity
import eu.kanade.tachiyomi.widget.NpaLinearLayoutManager
import kotlinx.android.synthetic.main.fragment_recent_manga.*
import kotlinx.android.synthetic.main.fragment_recently_read.*
import nucleus.factory.RequiresPresenter
/**
* Fragment that shows recently read manga.
* Uses R.layout.fragment_recent_manga.
* Uses R.layout.fragment_recently_read.
* UI related actions should be called from here.
*/
@RequiresPresenter(RecentlyReadPresenter::class)
@ -49,7 +49,7 @@ class RecentlyReadFragment : BaseRxFragment<RecentlyReadPresenter>() {
* @param savedState status of saved state
*/
override fun onCreateView(inflater: LayoutInflater, container: ViewGroup?, savedState: Bundle?): View? {
return inflater.inflate(R.layout.fragment_recent_manga, container, false)
return inflater.inflate(R.layout.fragment_recently_read, container, false)
}
/**

View File

@ -9,13 +9,13 @@ import eu.kanade.tachiyomi.R
import eu.kanade.tachiyomi.data.database.models.MangaChapterHistory
import eu.kanade.tachiyomi.data.source.SourceManager
import kotlinx.android.synthetic.main.dialog_remove_recently.view.*
import kotlinx.android.synthetic.main.item_recent_manga.view.*
import kotlinx.android.synthetic.main.item_recently_read.view.*
import java.text.DecimalFormat
import java.text.DecimalFormatSymbols
/**
* Holder that contains recent manga item
* Uses R.layout.item_recent_manga.
* Uses R.layout.item_recently_read.
* UI related actions should be called from here.
*
* @param view the inflated view for this holder.