mirror of
https://github.com/quik-sms/quik.git
synced 2026-11-17 19:38:52 +01:00
refactors changelog and version handling, fixes crash on startup due to version mismatch.
This commit is contained in:
@@ -49,6 +49,11 @@ class ChangelogAdapter(private val context: Context) : QkAdapter<ChangelogAdapte
|
||||
changes += changelog.fixed.map { change -> ChangelogItem(1, "• $change") }
|
||||
changes += ChangelogItem(0, "")
|
||||
}
|
||||
if (changelog.removed.isNotEmpty()) {
|
||||
changes += ChangelogItem(0, context.getString(R.string.changelog_removed))
|
||||
changes += changelog.removed.map { change -> ChangelogItem(1, "• $change") }
|
||||
changes += ChangelogItem(0, "")
|
||||
}
|
||||
data = changes
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user