diff --git a/submodules/LegacyComponents/Sources/TGMediaPickerGalleryVideoItemView.m b/submodules/LegacyComponents/Sources/TGMediaPickerGalleryVideoItemView.m index f06deeb344..7294c09887 100644 --- a/submodules/LegacyComponents/Sources/TGMediaPickerGalleryVideoItemView.m +++ b/submodules/LegacyComponents/Sources/TGMediaPickerGalleryVideoItemView.m @@ -255,8 +255,10 @@ UIWindow *keyWindow = self.window; //[UIApplication sharedApplication].keyWindow; UIView *rootView = keyWindow.rootViewController.view; - _volumeOverlayFixView = [[MPVolumeView alloc] initWithFrame:CGRectMake(10000, 10000, 20, 20)]; - [rootView addSubview:_volumeOverlayFixView]; + if (iosMajorVersion() < 13) { + _volumeOverlayFixView = [[MPVolumeView alloc] initWithFrame:CGRectMake(10000, 10000, 20, 20)]; + [rootView addSubview:_volumeOverlayFixView]; + } } - (void)releaseVolumeOverlay diff --git a/submodules/LegacyComponents/Sources/TGMediaVideoConverter.m b/submodules/LegacyComponents/Sources/TGMediaVideoConverter.m index 0484adcaba..4581df5623 100644 --- a/submodules/LegacyComponents/Sources/TGMediaVideoConverter.m +++ b/submodules/LegacyComponents/Sources/TGMediaVideoConverter.m @@ -579,7 +579,7 @@ CGSize dimensions = CGSizeZero; NSDictionary *outputSettings = nil; - CMTimeRange timeRange = CMTimeRangeMake(CMTimeMakeWithSeconds(0.0, NSEC_PER_SEC), CMTimeMakeWithSeconds(4.0, NSEC_PER_SEC)); + CMTimeRange timeRange = CMTimeRangeMake(CMTimeMakeWithSeconds(0.0, NSEC_PER_SEC), CMTimeMakeWithSeconds(3.0, NSEC_PER_SEC)); AVMutableComposition *composition = [AVMutableComposition composition]; AVAssetTrack *videoTrack = [[avAsset tracksWithMediaType:AVMediaTypeVideo] firstObject]; diff --git a/submodules/TelegramUI/Sources/DrawingStickersScreen.swift b/submodules/TelegramUI/Sources/DrawingStickersScreen.swift index fdee810dcf..6fc01cca46 100644 --- a/submodules/TelegramUI/Sources/DrawingStickersScreen.swift +++ b/submodules/TelegramUI/Sources/DrawingStickersScreen.swift @@ -117,7 +117,7 @@ private final class DrawingStickersScreenNode: ViewControllerTracingNode { self.topPanel = ASDisplayNode() self.topPanel.clipsToBounds = true self.topPanel.backgroundColor = UIColor(rgb: 0x151515) - self.topPanel.alpha = 0.4 + self.topPanel.alpha = 0.3 let segmentedTheme = SegmentedControlTheme(backgroundColor: UIColor(rgb: 0x2c2d2d), foregroundColor: UIColor(rgb: 0x656565), shadowColor: UIColor.clear, textColor: .white, dividerColor: .white) self.segmentedControlNode = SegmentedControlNode(theme: segmentedTheme, items: [SegmentedControlItem(title: self.presentationData.strings.Paint_Stickers), SegmentedControlItem(title: self.presentationData.strings.Paint_Masks)], selectedIndex: 0) @@ -128,7 +128,7 @@ private final class DrawingStickersScreenNode: ViewControllerTracingNode { self.collectionListPanel = ASDisplayNode() self.collectionListPanel.clipsToBounds = true self.collectionListPanel.backgroundColor = UIColor(rgb: 0x151515) - self.collectionListPanel.alpha = 0.4 + self.collectionListPanel.alpha = 0.3 self.collectionListContainer = CollectionListContainerNode() self.collectionListContainer.clipsToBounds = true