mirror of
https://github.com/metabolist/metatext.git
synced 2024-11-25 01:31:02 +00:00
Application links
This commit is contained in:
parent
303e57a163
commit
56d945cd02
1 changed files with 11 additions and 0 deletions
|
@ -169,6 +169,17 @@ private extension StatusView {
|
|||
UIAction { [weak self] _ in self?.statusConfiguration.viewModel.favoritedBySelected() },
|
||||
for: .touchUpInside)
|
||||
|
||||
applicationButton.addAction(
|
||||
UIAction { [weak self] _ in
|
||||
guard
|
||||
let viewModel = self?.statusConfiguration.viewModel,
|
||||
let url = viewModel.applicationURL
|
||||
else { return }
|
||||
|
||||
viewModel.urlSelected(url)
|
||||
},
|
||||
for: .touchUpInside)
|
||||
|
||||
applyStatusConfiguration()
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue