mirror of
https://github.com/Ranchero-Software/NetNewsWire
synced 2026-12-02 10:22:35 +00:00
💄 Micro-tweaks to cell previews
This commit is contained in:
4 files changed
+17
-13
No files matched your search
@@ -309,7 +309,11 @@ class MainTimelineCollectionViewCell: UICollectionViewCell {
|
||||
if UIDevice.current.userInterfaceIdiom == .pad {
|
||||
backgroundConfig.backgroundInsets = NSDirectionalEdgeInsets(top: 0, leading: -8, bottom: 0, trailing: -8)
|
||||
} else {
|
||||
backgroundConfig.backgroundInsets = NSDirectionalEdgeInsets(top: 0, leading: -12, bottom: 0, trailing: -12)
|
||||
if !isPreview {
|
||||
backgroundConfig.backgroundInsets = NSDirectionalEdgeInsets(top: 0, leading: -12, bottom: 0, trailing: -12)
|
||||
} else {
|
||||
backgroundConfig.backgroundInsets = NSDirectionalEdgeInsets(top: 0, leading: -16, bottom: 0, trailing: -16)
|
||||
}
|
||||
}
|
||||
|
||||
if state.isSwiped && state.isSelected {
|
||||
|
||||
Reference in new issue
Block a user