chore: add a debug menu entry for testing EmptyView
This commit is contained in:
parent
326aea36cd
commit
64b4247706
|
@ -25,6 +25,14 @@ extension HomeTimelineViewController {
|
||||||
guard let self = self else { return }
|
guard let self = self else { return }
|
||||||
self.showWelcomeAction(action)
|
self.showWelcomeAction(action)
|
||||||
},
|
},
|
||||||
|
UIAction(title: "Show Or Remove EmptyView", image: UIImage(systemName: "clear"), attributes: []) { [weak self] action in
|
||||||
|
guard let self = self else { return }
|
||||||
|
if self.emptyView.superview != nil {
|
||||||
|
self.emptyView.removeFromSuperview()
|
||||||
|
} else {
|
||||||
|
self.showEmptyView()
|
||||||
|
}
|
||||||
|
},
|
||||||
UIAction(title: "Show Public Timeline", image: UIImage(systemName: "list.dash"), attributes: []) { [weak self] action in
|
UIAction(title: "Show Public Timeline", image: UIImage(systemName: "list.dash"), attributes: []) { [weak self] action in
|
||||||
guard let self = self else { return }
|
guard let self = self else { return }
|
||||||
self.showPublicTimelineAction(action)
|
self.showPublicTimelineAction(action)
|
||||||
|
|
Loading…
Reference in New Issue