Compare commits
No commits in common. "392e51eb3ecb3ac70e2cdb2735c6cd24dd6b018b" and "79b23127e9e9a50974388b7e3bc44dfa7cb6f33b" have entirely different histories.
392e51eb3e
...
79b23127e9
2
Gifu
2
Gifu
|
@ -1 +1 @@
|
||||||
Subproject commit 9b1a6461aa3b5f66cb0ed3a50c5523db0b4fb007
|
Subproject commit ed572f53ce58b8e23499abeb3a926033cbe480f7
|
|
@ -46,8 +46,6 @@ class LargeImageImageContentView: UIImageView, GIFAnimatable, LargeImageContentV
|
||||||
}
|
}
|
||||||
|
|
||||||
override public func display(_ layer: CALayer) {
|
override public func display(_ layer: CALayer) {
|
||||||
super.display(layer)
|
|
||||||
|
|
||||||
updateImageIfNeeded()
|
updateImageIfNeeded()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -77,6 +77,10 @@ struct PreferencesView: View {
|
||||||
}
|
}
|
||||||
.listStyle(GroupedListStyle())
|
.listStyle(GroupedListStyle())
|
||||||
.navigationBarTitle(Text("Preferences"), displayMode: .inline)
|
.navigationBarTitle(Text("Preferences"), displayMode: .inline)
|
||||||
|
.onDisappear {
|
||||||
|
// todo: this onDisappear callback is not called in beta 4, check again in beta 5
|
||||||
|
NotificationCenter.default.post(name: .preferencesChanged, object: nil)
|
||||||
|
}
|
||||||
// }
|
// }
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -83,8 +83,8 @@ extension MenuPreviewProvider {
|
||||||
]
|
]
|
||||||
|
|
||||||
return [
|
return [
|
||||||
UIMenu(title: "", image: nil, identifier: nil, options: [.displayInline], children: shareSection),
|
|
||||||
UIMenu(title: "", image: nil, identifier: nil, options: [.displayInline], children: actionsSection),
|
UIMenu(title: "", image: nil, identifier: nil, options: [.displayInline], children: actionsSection),
|
||||||
|
UIMenu(title: "", image: nil, identifier: nil, options: [.displayInline], children: shareSection)
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -115,8 +115,8 @@ extension MenuPreviewProvider {
|
||||||
let shareSection = actionsForURL(hashtag.url, sourceView: sourceView)
|
let shareSection = actionsForURL(hashtag.url, sourceView: sourceView)
|
||||||
|
|
||||||
return [
|
return [
|
||||||
UIMenu(title: "", image: nil, identifier: nil, options: [.displayInline], children: shareSection),
|
|
||||||
UIMenu(title: "", image: nil, identifier: nil, options: [.displayInline], children: actionsSection),
|
UIMenu(title: "", image: nil, identifier: nil, options: [.displayInline], children: actionsSection),
|
||||||
|
UIMenu(title: "", image: nil, identifier: nil, options: [.displayInline], children: shareSection)
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -174,8 +174,8 @@ extension MenuPreviewProvider {
|
||||||
]
|
]
|
||||||
|
|
||||||
return [
|
return [
|
||||||
UIMenu(title: "", image: nil, identifier: nil, options: [.displayInline], children: shareSection),
|
|
||||||
UIMenu(title: "", image: nil, identifier: nil, options: [.displayInline], children: actionsSection),
|
UIMenu(title: "", image: nil, identifier: nil, options: [.displayInline], children: actionsSection),
|
||||||
|
UIMenu(title: "", image: nil, identifier: nil, options: [.displayInline], children: shareSection),
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -177,8 +177,6 @@ class AttachmentView: UIImageView, GIFAnimatable {
|
||||||
}
|
}
|
||||||
|
|
||||||
override func display(_ layer: CALayer) {
|
override func display(_ layer: CALayer) {
|
||||||
super.display(layer)
|
|
||||||
|
|
||||||
updateImageIfNeeded()
|
updateImageIfNeeded()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue