Промежуточный результат для 1.0.4 версии

This commit is contained in:
2026-02-22 08:54:46 +05:00
parent 3aa18fa9ac
commit 5b9b3f83f7
37 changed files with 5643 additions and 928 deletions

View 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)
}