mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-23 06:35:51 +00:00
Web app improvements
This commit is contained in:
12
submodules/TelegramUI/Images.xcassets/Chat/Context Menu/Reload.imageset/Contents.json
vendored
Normal file
12
submodules/TelegramUI/Images.xcassets/Chat/Context Menu/Reload.imageset/Contents.json
vendored
Normal file
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"images" : [
|
||||
{
|
||||
"filename" : "scheduled.pdf",
|
||||
"idiom" : "universal"
|
||||
}
|
||||
],
|
||||
"info" : {
|
||||
"author" : "xcode",
|
||||
"version" : 1
|
||||
}
|
||||
}
|
||||
86
submodules/TelegramUI/Images.xcassets/Chat/Context Menu/Reload.imageset/scheduled.pdf
vendored
Normal file
86
submodules/TelegramUI/Images.xcassets/Chat/Context Menu/Reload.imageset/scheduled.pdf
vendored
Normal file
@@ -0,0 +1,86 @@
|
||||
%PDF-1.7
|
||||
|
||||
1 0 obj
|
||||
<< >>
|
||||
endobj
|
||||
|
||||
2 0 obj
|
||||
<< /Length 3 0 R >>
|
||||
stream
|
||||
/DeviceRGB CS
|
||||
/DeviceRGB cs
|
||||
q
|
||||
1.000000 0.000000 -0.000000 1.000000 3.334991 3.334991 cm
|
||||
0.000000 0.000000 0.000000 scn
|
||||
8.665000 17.330002 m
|
||||
8.297730 17.330002 8.000000 17.032270 8.000000 16.665001 c
|
||||
8.000000 16.297733 8.297730 16.000002 8.665000 16.000002 c
|
||||
12.716009 16.000002 16.000000 12.716011 16.000000 8.665002 c
|
||||
16.000000 4.613993 12.716009 1.330002 8.665000 1.330002 c
|
||||
4.613991 1.330002 1.330000 4.613993 1.330000 8.665002 c
|
||||
1.330000 11.380140 2.805339 13.751918 5.000000 15.020325 c
|
||||
5.000000 13.165002 l
|
||||
5.000000 12.797732 5.297730 12.500002 5.665000 12.500002 c
|
||||
6.032269 12.500002 6.330000 12.797732 6.330000 13.165002 c
|
||||
6.330000 16.665001 l
|
||||
6.330000 17.032270 6.032269 17.330002 5.665000 17.330002 c
|
||||
2.165000 17.330002 l
|
||||
1.797731 17.330002 1.500000 17.032270 1.500000 16.665001 c
|
||||
1.500000 16.297733 1.797731 16.000002 2.165000 16.000002 c
|
||||
4.050117 16.000002 l
|
||||
1.617408 14.466265 0.000000 11.755083 0.000000 8.665002 c
|
||||
0.000000 3.879455 3.879452 0.000000 8.665000 0.000000 c
|
||||
13.450547 0.000000 17.330002 3.879455 17.330002 8.665002 c
|
||||
17.330002 13.450549 13.450547 17.330002 8.665000 17.330002 c
|
||||
h
|
||||
f*
|
||||
n
|
||||
Q
|
||||
|
||||
endstream
|
||||
endobj
|
||||
|
||||
3 0 obj
|
||||
1114
|
||||
endobj
|
||||
|
||||
4 0 obj
|
||||
<< /Annots []
|
||||
/Type /Page
|
||||
/MediaBox [ 0.000000 0.000000 24.000000 24.000000 ]
|
||||
/Resources 1 0 R
|
||||
/Contents 2 0 R
|
||||
/Parent 5 0 R
|
||||
>>
|
||||
endobj
|
||||
|
||||
5 0 obj
|
||||
<< /Kids [ 4 0 R ]
|
||||
/Count 1
|
||||
/Type /Pages
|
||||
>>
|
||||
endobj
|
||||
|
||||
6 0 obj
|
||||
<< /Pages 5 0 R
|
||||
/Type /Catalog
|
||||
>>
|
||||
endobj
|
||||
|
||||
xref
|
||||
0 7
|
||||
0000000000 65535 f
|
||||
0000000010 00000 n
|
||||
0000000034 00000 n
|
||||
0000001204 00000 n
|
||||
0000001227 00000 n
|
||||
0000001400 00000 n
|
||||
0000001474 00000 n
|
||||
trailer
|
||||
<< /ID [ (some) (id) ]
|
||||
/Root 6 0 R
|
||||
/Size 7
|
||||
>>
|
||||
startxref
|
||||
1533
|
||||
%%EOF
|
||||
@@ -601,7 +601,7 @@ public final class WebAppController: ViewController, AttachmentContainable {
|
||||
}
|
||||
|
||||
items.append(.action(ContextMenuActionItem(text: presentationData.strings.WebApp_ReloadPage, icon: { theme in
|
||||
return generateTintedImage(image: UIImage(bundleImageName: "Chat/Context Menu/Share"), color: theme.contextMenu.primaryColor)
|
||||
return generateTintedImage(image: UIImage(bundleImageName: "Chat/Context Menu/Reload"), color: theme.contextMenu.primaryColor)
|
||||
}, action: { [weak self] _, f in
|
||||
f(.default)
|
||||
|
||||
@@ -636,6 +636,10 @@ public final class WebAppController: ViewController, AttachmentContainable {
|
||||
self.navigationBar?.updateBackgroundAlpha(0.0, transition: .immediate)
|
||||
}
|
||||
|
||||
public func isContainerPanningUpdated(_ panning: Bool) {
|
||||
self.controllerNode.isContainerPanningUpdated(panning)
|
||||
}
|
||||
|
||||
override public func containerLayoutUpdated(_ layout: ContainerViewLayout, transition: ContainedViewLayoutTransition) {
|
||||
super.containerLayoutUpdated(layout, transition: transition)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user