1
0
mirror of https://github.com/mastodon/mastodon-ios.git synced 2025-02-01 01:46:55 +01:00

chore: set home timeline illustration hidden on iPad

This commit is contained in:
CMK 2021-07-09 19:39:44 +08:00
parent ff4d723573
commit 3bf73d3332

View File

@ -287,6 +287,8 @@ extension HomeTimelineViewController {
emptyView.addArrangedSubview(friendsAssetImageView)
emptyView.addArrangedSubview(bottomPaddingView)
friendsAssetImageView.isHidden = traitCollection.userInterfaceIdiom != .phone
topPaddingView.translatesAutoresizingMaskIntoConstraints = false
bottomPaddingView.translatesAutoresizingMaskIntoConstraints = false
NSLayoutConstraint.activate([