Merge branch 'feature/5307_fix_add_room_button_appearance' into 'develop'

MESSENGER-5307 fix add room button appearance

See merge request bwmessenger/bundesmessenger/bundesmessenger-ios!261
This commit is contained in:
JanNiklas Grabowski
2023-11-29 07:45:21 +00:00

View File

@@ -652,6 +652,13 @@ class AllChatsViewController: HomeViewController {
self.emptyView?.fill(with: emptyViewArtwork,
title: title,
informationText: informationText)
// BWI: #5307
if let floatingButton = floatingButton, let emptyView = self.emptyView {
if emptyView.superview != nil {
view.insertSubview(floatingButton, aboveSubview: self.emptyView)
}
}
}
private var emptyViewArtwork: UIImage {