mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-26 11:30:50 +02:00
App Layout: last UI tweaks before RC
This commit is contained in:
@@ -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)
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user