mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-06-16 05:55:20 +00:00
Premium gift fixes
This commit is contained in:
parent
5a4d8d8310
commit
5ae6a7d142
BIN
submodules/PremiumUI/Resources/emoji.scn
Normal file
BIN
submodules/PremiumUI/Resources/emoji.scn
Normal file
Binary file not shown.
@ -889,7 +889,7 @@ private final class PremiumGiftScreenComponent: CombinedComponent {
|
||||
isVisible: starIsVisible,
|
||||
hasIdleAnimations: state.hasIdleAnimations
|
||||
),
|
||||
availableSize: CGSize(width: min(390.0, context.availableSize.width), height: 220.0),
|
||||
availableSize: CGSize(width: min(414.0, context.availableSize.width), height: 220.0),
|
||||
transition: context.transition
|
||||
)
|
||||
|
||||
|
@ -2284,7 +2284,7 @@ private final class PremiumIntroScreenComponent: CombinedComponent {
|
||||
isVisible: starIsVisible,
|
||||
hasIdleAnimations: state.hasIdleAnimations
|
||||
),
|
||||
availableSize: CGSize(width: min(390.0, context.availableSize.width), height: 220.0),
|
||||
availableSize: CGSize(width: min(414.0, context.availableSize.width), height: 220.0),
|
||||
transition: context.transition
|
||||
)
|
||||
} else {
|
||||
@ -2294,7 +2294,7 @@ private final class PremiumIntroScreenComponent: CombinedComponent {
|
||||
isVisible: starIsVisible,
|
||||
hasIdleAnimations: state.hasIdleAnimations
|
||||
),
|
||||
availableSize: CGSize(width: min(390.0, context.availableSize.width), height: 220.0),
|
||||
availableSize: CGSize(width: min(414.0, context.availableSize.width), height: 220.0),
|
||||
transition: context.transition
|
||||
)
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user