mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-23 22:55:00 +00:00
Chat wallpaper improvements
This commit is contained in:
@@ -166,6 +166,12 @@ static void adjustFrameRate(CAAnimation *animation) {
|
||||
[self dismissWhenReadyAnimated:animated force:false];
|
||||
}
|
||||
|
||||
- (void)setScrollViewHidden:(bool)hidden {
|
||||
TGDispatchAfter(0.01, dispatch_get_main_queue(), ^{
|
||||
_view.scrollView.hidden = hidden;
|
||||
});
|
||||
}
|
||||
|
||||
- (void)dismissWhenReadyAnimated:(bool)animated force:(bool)force
|
||||
{
|
||||
if (animated) {
|
||||
|
||||
Reference in New Issue
Block a user