mirror of
https://github.com/TelegramMessenger/Telegram-iOS.git
synced 2026-07-05 19:28:46 +02:00
fix: remove own story hit target from compact rail
This commit is contained in:
parent
e7e40d3a90
commit
31d69c44e9
1 changed files with 2 additions and 1 deletions
|
|
@ -1724,7 +1724,8 @@ public final class StoryPeerListComponent: Component {
|
|||
|
||||
self.sortedItems.removeAll(keepingCapacity: true)
|
||||
if let storySubscriptions = component.storySubscriptions {
|
||||
if !component.useHiddenList, let accountItem = storySubscriptions.accountItem {
|
||||
let isCompactAvatarRail = availableSize.width <= 120.0
|
||||
if !component.useHiddenList, !isCompactAvatarRail, let accountItem = storySubscriptions.accountItem {
|
||||
self.sortedItems.append(accountItem)
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue