mirror of
https://github.com/quik-sms/quik.git
synced 2026-11-17 19:38:52 +01:00
Add support for cumulative changelogs
This commit is contained in:
@@ -18,11 +18,23 @@
|
||||
*/
|
||||
package com.moez.QKSMS.manager
|
||||
|
||||
import io.reactivex.Single
|
||||
|
||||
interface ChangelogManager {
|
||||
|
||||
data class Changelog(
|
||||
val added: List<String>,
|
||||
val improved: List<String>,
|
||||
val fixed: List<String>
|
||||
)
|
||||
|
||||
/**
|
||||
* Returns true if the app has benn updated since the last time this method was called
|
||||
*/
|
||||
fun didUpdate(): Boolean
|
||||
|
||||
fun getChangelog(): Single<Changelog>
|
||||
|
||||
fun markChangelogSeen()
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user