mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-22 22:25:57 +00:00
Various improvements
This commit is contained in:
@@ -3007,12 +3007,6 @@ public class GiftViewScreen: ViewControllerComponentContainer {
|
||||
self.subject = .profileGift(peerId, gift.withPinnedToTop(false))
|
||||
}
|
||||
}
|
||||
} else {
|
||||
var maxPinnedCount: Int = 6
|
||||
if let value = context.currentAppConfiguration.with({ $0 }).data?["stargifts_pinned_to_top_limit"] as? Double {
|
||||
maxPinnedCount = Int(value)
|
||||
}
|
||||
self.present(UndoOverlayController(presentationData: presentationData, content: .info(title: nil, text: strings.PeerInfo_Gifts_ToastPinLimit_Text(Int32(maxPinnedCount)), timeout: nil, customUndoText: nil), elevatedLayout: false, animateInAsReplacement: false, action: { _ in return false }), in: .current)
|
||||
}
|
||||
})
|
||||
})))
|
||||
|
||||
Reference in New Issue
Block a user