更新动态详情页

- 动态详情页UI更新
- 动态详情页新增删除功能
- 新增下拉菜单组件
- 消息列表UI更新

- 搜索页UI更新
- 图片查看器移除状态栏黑色遮罩
- 更新API,新增删除动态接口
- 更新MomentService,新增删除动态方法
- 更新Moment类,新增删除动态方法
- 更新NewPostViewModel,发布动态后刷新动态列表
- 更新MomentViewModel,
This commit is contained in:
2024-09-07 15:37:26 +08:00
parent d1e9365d69
commit 48b5962646
11 changed files with 246 additions and 276 deletions

View File

@@ -148,6 +148,11 @@ interface MomentService {
* @param id 动态ID
*/
suspend fun unfavoriteMoment(id: Int)
/**
* 删除动态
*/
suspend fun deleteMoment(id: Int)
}