Store changelog locally

#1708
This commit is contained in:
Moez Bhatti
2021-03-14 15:31:23 -04:00
parent 48a0803bc4
commit f766745e12
8 changed files with 314 additions and 102 deletions
@@ -18,11 +18,9 @@
*/
package com.moez.QKSMS.manager
import io.reactivex.Single
interface ChangelogManager {
data class Changelog(
data class CumulativeChangelog(
val added: List<String>,
val improved: List<String>,
val fixed: List<String>
@@ -33,7 +31,7 @@ interface ChangelogManager {
*/
fun didUpdate(): Boolean
fun getChangelog(): Single<Changelog>
suspend fun getChangelog(): CumulativeChangelog
fun markChangelogSeen()