mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-06-16 05:55:20 +00:00
Temporarily disable clone wallpaper
This commit is contained in:
parent
8d75beadd2
commit
4bdff41ae2
@ -827,12 +827,12 @@ final class WallpaperBackgroundNodeImpl: ASDisplayNode, WallpaperBackgroundNode
|
||||
|
||||
let incomingBackgroundPortalSourceView = PortalSourceView()
|
||||
self.incomingBackgroundPortalSourceView = incomingBackgroundPortalSourceView
|
||||
incomingBackgroundPortalSourceView.alpha = 0.0001
|
||||
incomingBackgroundPortalSourceView.alpha = 0.00001
|
||||
self.view.addSubview(incomingBackgroundPortalSourceView)
|
||||
|
||||
let outgoingBackgroundPortalSourceView = PortalSourceView()
|
||||
self.outgoingBackgroundPortalSourceView = outgoingBackgroundPortalSourceView
|
||||
outgoingBackgroundPortalSourceView.alpha = 0.0001
|
||||
outgoingBackgroundPortalSourceView.alpha = 0.00001
|
||||
self.view.addSubview(outgoingBackgroundPortalSourceView)
|
||||
}
|
||||
|
||||
@ -1423,6 +1423,7 @@ final class WallpaperBackgroundNodeImpl: ASDisplayNode, WallpaperBackgroundNode
|
||||
return nil
|
||||
}
|
||||
|
||||
#if DEBUG && false
|
||||
var sourceView: PortalSourceView?
|
||||
switch type {
|
||||
case .free:
|
||||
@ -1441,6 +1442,11 @@ final class WallpaperBackgroundNodeImpl: ASDisplayNode, WallpaperBackgroundNode
|
||||
let node = WallpaperBackgroundNodeImpl.BubbleBackgroundNodeImpl(backgroundNode: self, bubbleType: type)
|
||||
return node
|
||||
}
|
||||
#else
|
||||
let node = WallpaperBackgroundNodeImpl.BubbleBackgroundNodeImpl(backgroundNode: self, bubbleType: type)
|
||||
node.updateContents()
|
||||
return node
|
||||
#endif
|
||||
}
|
||||
|
||||
func makeFreeBackground() -> PortalView? {
|
||||
|
Loading…
x
Reference in New Issue
Block a user