mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-03 06:55:59 +00:00
Added blurhash and correct sizes to timeline images and animations throughout the app.
This commit is contained in:
@@ -52,7 +52,7 @@ struct HomeScreenViewState: BindableState {
|
||||
}
|
||||
}
|
||||
|
||||
struct HomeScreenRoom: Identifiable {
|
||||
struct HomeScreenRoom: Identifiable, Equatable {
|
||||
let id: String
|
||||
|
||||
var displayName: String?
|
||||
|
||||
@@ -84,6 +84,7 @@ struct HomeScreen: View {
|
||||
.font(.subheadline)
|
||||
.fontWeight(.bold)
|
||||
}
|
||||
.animation(.easeInOut, value: context.viewState.userAvatar)
|
||||
}
|
||||
ToolbarItem(placement: .navigationBarTrailing) {
|
||||
Button("Logout") {
|
||||
@@ -135,6 +136,7 @@ struct RoomCell: View {
|
||||
}
|
||||
}
|
||||
}
|
||||
.animation(.easeInOut, value: room)
|
||||
.frame(minHeight: 60.0)
|
||||
.onAppear {
|
||||
context.send(viewAction: .loadRoomData(roomIdentifier: room.id))
|
||||
|
||||
Reference in New Issue
Block a user