Промежуточный результат для 1.0.4 версии
This commit is contained in:
31
app/src/main/java/com/rosetta/messenger/data/ReleaseNotes.kt
Normal file
31
app/src/main/java/com/rosetta/messenger/data/ReleaseNotes.kt
Normal file
@@ -0,0 +1,31 @@
|
||||
package com.rosetta.messenger.data
|
||||
|
||||
/**
|
||||
* Release notes for "Rosetta Updates" system messages.
|
||||
*
|
||||
* When releasing a new version, update [RELEASE_NOTICE] below.
|
||||
* The text will be sent once to each user after they update the app.
|
||||
*/
|
||||
object ReleaseNotes {
|
||||
|
||||
/**
|
||||
* Current release notice shown to users after update.
|
||||
* [VERSION_PLACEHOLDER] will be replaced with the actual version from BuildConfig.
|
||||
*/
|
||||
const val VERSION_PLACEHOLDER = "{version}"
|
||||
|
||||
val RELEASE_NOTICE = """
|
||||
Update v$VERSION_PLACEHOLDER
|
||||
|
||||
- New attachment panel with tabs (photos, files, avatar)
|
||||
- Message drafts — text is saved when leaving a chat
|
||||
- Circular reveal animation for theme switching
|
||||
- Photo albums in media picker
|
||||
- Camera flash mode is now saved between sessions
|
||||
- Swipe-back gesture fixes
|
||||
- UI and performance improvements
|
||||
""".trimIndent()
|
||||
|
||||
fun getNotice(version: String): String =
|
||||
RELEASE_NOTICE.replace(VERSION_PLACEHOLDER, version)
|
||||
}
|
||||
Reference in New Issue
Block a user