mirror of
https://github.com/metabolist/metatext
synced 2025-01-06 23:23:07 +01:00
Application links
This commit is contained in:
parent
303e57a163
commit
56d945cd02
@ -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 New Issue
Block a user