feat(chat): add animated GIF rendering with tap-to-play animation (#721) (#731)

* feat(chat): add animated GIF rendering with tap-to-play animation

Closes #721

* fix(#721): add missing GifImageThumbnail component and format ktlint

* fix(analytics): resolve ktlint indentation error in itemsIndexed

* feat(chat): add interactive play/pause toggle for animated GIFs

* fix(chat): control GIF playback via Animatable start and stop
This commit is contained in:
M57
2026-07-27 18:32:45 +03:00
committed by GitHub
parent c7f7d1dd45
commit 5c1492a80e
32 changed files with 370 additions and 118 deletions
@@ -53,7 +53,9 @@ data class SessionsUiState(
val isSearchMode: Boolean get() = searchQuery.isNotBlank()
}
class SessionsViewModel : ViewModel(), ToastHost {
class SessionsViewModel :
ViewModel(),
ToastHost {
private val _uiState = MutableStateFlow(SessionsUiState())
val uiState: StateFlow<SessionsUiState> = _uiState.asStateFlow()