Skip to content

Commit

Permalink
release 2.1.3.1
Browse files Browse the repository at this point in the history
  • Loading branch information
nonproto committed Aug 18, 2020
1 parent ad3a41f commit b33bef6
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 16 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -61,10 +61,6 @@ abstract class ReducedHttpSource : HttpSource() {
TODO("Not yet implemented")
}

override suspend fun updateReadingProgress(track: Track): Boolean {
TODO("Not yet implemented")
}

override suspend fun updateFollowStatus(mangaID: String, followStatus: FollowStatus): Boolean {
TODO("Not yet implemented")
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ fun Controller.setOnQueryTextChangeListener(
searchView.setOnQueryTextListener(object : SearchView.OnQueryTextListener {
override fun onQueryTextChange(newText: String?): Boolean {
if (!onlyOnSubmit && router.backstack.lastOrNull()
?.controller() == this@setOnQueryTextChangeListener
?.controller() == this@setOnQueryTextChangeListener
) {
return f(newText)
}
Expand Down Expand Up @@ -77,7 +77,7 @@ fun Controller.liftAppbarWith(recycler: RecyclerView) {
override fun onScrolled(recyclerView: RecyclerView, dx: Int, dy: Int) {
super.onScrolled(recyclerView, dx, dy)
if (router?.backstack?.lastOrNull()
?.controller() == this@liftAppbarWith && activity != null
?.controller() == this@liftAppbarWith && activity != null
) {
val notAtTop = recycler.canScrollVertically(-1)
if (notAtTop != elevate) elevateFunc(notAtTop)
Expand Down Expand Up @@ -166,7 +166,7 @@ fun Controller.scrollViewWith(
}
} else {
if (!customPadding && lastY == 0f && router.backstack.lastOrNull()
?.controller() is MangaDetailsController
?.controller() is MangaDetailsController
) {
val parent = recycler.parent as? ViewGroup ?: return
val v = View(activity)
Expand All @@ -189,7 +189,7 @@ fun Controller.scrollViewWith(
override fun onScrolled(recyclerView: RecyclerView, dx: Int, dy: Int) {
super.onScrolled(recyclerView, dx, dy)
if (router?.backstack?.lastOrNull()
?.controller() == this@scrollViewWith && statusBarHeight > -1 &&
?.controller() == this@scrollViewWith && statusBarHeight > -1 &&
activity != null && activity!!.appbar.height > 0 &&
recycler.translationY == 0f
) {
Expand All @@ -207,11 +207,11 @@ fun Controller.scrollViewWith(
activity!!.appbar.y, -activity!!.appbar.height.toFloat(), 0f
)
if ((
(
activity!!.appbar.y <= -activity!!.appbar.height.toFloat() ||
dy == 0 && activity!!.appbar.y == 0f
) || dy == 0
) && !elevate
(
activity!!.appbar.y <= -activity!!.appbar.height.toFloat() ||
dy == 0 && activity!!.appbar.y == 0f
) || dy == 0
) && !elevate
)
elevateFunc(true)
lastY = activity!!.appbar.y
Expand All @@ -223,7 +223,7 @@ fun Controller.scrollViewWith(
super.onScrollStateChanged(recyclerView, newState)
if (newState == RecyclerView.SCROLL_STATE_IDLE) {
if (router?.backstack?.lastOrNull()
?.controller() == this@scrollViewWith && statusBarHeight > -1 &&
?.controller() == this@scrollViewWith && statusBarHeight > -1 &&
activity != null && activity!!.appbar.height > 0 &&
recycler.translationY == 0f
) {
Expand Down
8 changes: 8 additions & 0 deletions app/src/main/res/raw/changelog_release.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
<?xml version="1.0" encoding="utf-8"?>
<changelog bulletedList="true">
<changelogversion
changeDate=""
versionName="v2.1.3.1">
<changelogtext>Fix: Updating rating in tracker updates on site now (note there is no current way to pull the rating and no way to reset it please Dex V5 API when)</changelogtext>
<changelogtext>Fix: cover cache for non library actually being deleted</changelogtext>
<changelogtext>Fix: unread sorting works again</changelogtext>
<changelogtext>Fix: update notification bug</changelogtext>
</changelogversion>
<changelogversion
changeDate=""
versionName="v2.1.3">
Expand Down
4 changes: 2 additions & 2 deletions buildSrc/src/main/kotlin/Configs.kt
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ object Configs {
const val minSdkVersion = 24
const val targetSdkVersion = 29
const val testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
const val versionCode = 82
const val versionName = "2.1.3"
const val versionCode = 83
const val versionName = "v2.1.3.1"
}

object LegacyPluginClassPath {
Expand Down

0 comments on commit b33bef6

Please sign in to comment.