App Layout: last UI tweaks before RC

This commit is contained in:
Gil Eluard
2022-08-23 20:50:12 +02:00
parent fd750bab12
commit 6b555f5754
14 changed files with 161 additions and 31 deletions
@@ -111,17 +111,11 @@ class RoomInvitesViewController: RecentsViewController {
// MARK: - Empty view management
override func updateEmptyView() {
emptyView?.fill(with: self.emptyViewArtwork,
title: VectorL10n.roomsEmptyViewTitle,
informationText: VectorL10n.roomsEmptyViewInformation)
}
private var emptyViewArtwork: UIImage {
if ThemeService.shared().isCurrentThemeDark() {
return Asset.Images.roomsEmptyScreenArtworkDark.image
} else {
return Asset.Images.roomsEmptyScreenArtwork.image
}
let image = UIImage(systemName: "envelope.open.fill") ?? UIImage()
emptyView?.fill(with: image,
title: VectorL10n.roomInvitesEmptyViewTitle,
informationText: VectorL10n.roomInvitesEmptyViewInformation,
displayMode: .icon)
}
}