Animate disclosing the feed when using Go to Feed.
This commit is contained in:
parent
ef84acc02d
commit
0c33f6c496
@ -594,7 +594,7 @@ private extension MasterTimelineViewController {
|
|||||||
|
|
||||||
let title = NSLocalizedString("Go to Feed", comment: "Go to Feed")
|
let title = NSLocalizedString("Go to Feed", comment: "Go to Feed")
|
||||||
let action = UIAction(title: title, image: AppAssets.openInSidebarImage) { [weak self] action in
|
let action = UIAction(title: title, image: AppAssets.openInSidebarImage) { [weak self] action in
|
||||||
self?.coordinator.discloseFeed(feed, animated: false)
|
self?.coordinator.discloseFeed(feed, animated: true)
|
||||||
}
|
}
|
||||||
return action
|
return action
|
||||||
}
|
}
|
||||||
@ -604,7 +604,7 @@ private extension MasterTimelineViewController {
|
|||||||
|
|
||||||
let title = NSLocalizedString("Go to Feed", comment: "Go to Feed")
|
let title = NSLocalizedString("Go to Feed", comment: "Go to Feed")
|
||||||
let action = UIAlertAction(title: title, style: .default) { [weak self] action in
|
let action = UIAlertAction(title: title, style: .default) { [weak self] action in
|
||||||
self?.coordinator.discloseFeed(feed, animated: false)
|
self?.coordinator.discloseFeed(feed, animated: true)
|
||||||
completionHandler(true)
|
completionHandler(true)
|
||||||
}
|
}
|
||||||
return action
|
return action
|
||||||
|
Loading…
x
Reference in New Issue
Block a user