feat: Always display timestamp in ImageAttachment component, regardless of download status
This commit is contained in:
@@ -292,8 +292,7 @@ fun ImageAttachment(
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Время в правом нижнем углу (только если изображение загружено)
|
// Время в правом нижнем углу (всегда показываем, даже когда фото blurred)
|
||||||
if (downloadStatus == DownloadStatus.DOWNLOADED) {
|
|
||||||
Box(
|
Box(
|
||||||
modifier = Modifier
|
modifier = Modifier
|
||||||
.align(Alignment.BottomEnd)
|
.align(Alignment.BottomEnd)
|
||||||
@@ -354,7 +353,6 @@ fun ImageAttachment(
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
// Оверлей для статуса скачивания
|
// Оверлей для статуса скачивания
|
||||||
if (downloadStatus != DownloadStatus.DOWNLOADED) {
|
if (downloadStatus != DownloadStatus.DOWNLOADED) {
|
||||||
|
|||||||
Reference in New Issue
Block a user