mirror of
https://github.com/MinimalBible/MinimalBible
synced 2025-07-01 05:45:58 -04:00
RefreshManager going functional!
This commit is contained in:
@ -33,7 +33,7 @@ class OsisParser(v: Verse) : DefaultHandler() {
|
||||
doWrite.pop()
|
||||
}
|
||||
override fun characters(ch: CharArray?, start: Int, length: Int) {
|
||||
if (doWrite.peek() as Boolean)
|
||||
if (doWrite.peek())
|
||||
verseContent.appendContent(String(ch as CharArray))
|
||||
}
|
||||
}
|
@ -21,7 +21,7 @@ class VerseContent(v: Verse) {
|
||||
public fun toJson(): String {
|
||||
// Lazy load Gson - not likely that we'll call this method multiple times, so
|
||||
// don't have to worry about a penalty there.
|
||||
return Gson().toJson(this) as String
|
||||
return Gson().toJson(this)
|
||||
}
|
||||
|
||||
public fun appendContent(content: String) {
|
||||
|
Reference in New Issue
Block a user