Merge commit 'd8d68722aecdc6dd8d206ebe5c741e607b135302'

This commit is contained in:
Isaac
2024-07-19 20:25:36 +08:00
18 changed files with 401 additions and 81 deletions

View File

@@ -2986,7 +2986,7 @@ public class CameraScreen: ViewController {
if let current = self.galleryController {
controller = current
} else {
controller = self.context.sharedContext.makeStoryMediaPickerScreen(context: self.context, getSourceRect: { [weak self] in
controller = self.context.sharedContext.makeStoryMediaPickerScreen(context: self.context, isDark: true, getSourceRect: { [weak self] in
if let self {
if let galleryButton = self.node.componentHost.findTaggedView(tag: galleryButtonTag) {
return galleryButton.convert(galleryButton.bounds, to: self.view).offsetBy(dx: 0.0, dy: -15.0)