Release 0.6.2

This commit is contained in:
len 2017-09-09 14:00:21 +02:00
parent e971d40e06
commit d95adf2631
3 changed files with 20 additions and 4 deletions

View File

@ -38,8 +38,8 @@ android {
minSdkVersion 16 minSdkVersion 16
targetSdkVersion 25 targetSdkVersion 25
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
versionCode 24 versionCode 25
versionName "0.6.1" versionName "0.6.2"
buildConfigField "String", "COMMIT_COUNT", "\"${getCommitCount()}\"" buildConfigField "String", "COMMIT_COUNT", "\"${getCommitCount()}\""
buildConfigField "String", "COMMIT_SHA", "\"${getGitSha()}\"" buildConfigField "String", "COMMIT_SHA", "\"${getGitSha()}\""

View File

@ -89,14 +89,13 @@ class Mangafox : ParsedHttpSource() {
val infoElement = document.select("div#title").first() val infoElement = document.select("div#title").first()
val rowElement = infoElement.select("table > tbody > tr:eq(1)").first() val rowElement = infoElement.select("table > tbody > tr:eq(1)").first()
val sideInfoElement = document.select("#series_info").first() val sideInfoElement = document.select("#series_info").first()
val licensedElement = document.select("div.warning").first()
val manga = SManga.create() val manga = SManga.create()
manga.author = rowElement.select("td:eq(1)").first()?.text() manga.author = rowElement.select("td:eq(1)").first()?.text()
manga.artist = rowElement.select("td:eq(2)").first()?.text() manga.artist = rowElement.select("td:eq(2)").first()?.text()
manga.genre = rowElement.select("td:eq(3)").first()?.text() manga.genre = rowElement.select("td:eq(3)").first()?.text()
manga.description = infoElement.select("p.summary").first()?.text() manga.description = infoElement.select("p.summary").first()?.text()
manga.status = licensedElement?.let { SManga.LICENSED } ?: sideInfoElement.select(".data").first()?.text().orEmpty().let { parseStatus(it) } manga.status = sideInfoElement.select(".data").first()?.text().orEmpty().let { parseStatus(it) }
manga.thumbnail_url = sideInfoElement.select("div.cover > img").first()?.attr("src") manga.thumbnail_url = sideInfoElement.select("div.cover > img").first()?.attr("src")
return manga return manga
} }

View File

@ -1,5 +1,22 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<changelog bulletedList="true"> <changelog bulletedList="true">
<changelogversion versionName="v0.6.2" changeDate="">
<changelogtext>Added a new completed manga filter for the library.</changelogtext>
<changelogtext>Added scanlator to chapters (if supported by source).</changelogtext>
<changelogtext>Added Discord server link.</changelogtext>
<changelogtext>Added new translations.</changelogtext>
<changelogtext>Extensions shouldn't crash the app anymore.</changelogtext>
<changelogtext>Crop borders is supported in webtoon reader and fixed in Android O.</changelogtext>
<changelogtext>Fixed a bug where storage permissions were always requested.</changelogtext>
<changelogtext>Minor UI and crash fixes.</changelogtext>
</changelogversion>
<changelogversion versionName="v0.6.1" changeDate=""> <changelogversion versionName="v0.6.1" changeDate="">
<changelogtext>Bugfix release.</changelogtext> <changelogtext>Bugfix release.</changelogtext>