aboutsummaryrefslogtreecommitdiff
path: root/foray/Presenters
diff options
context:
space:
mode:
authorNicholas Tay <nick@windblume.net>2022-07-18 10:24:49 +1000
committerNicholas Tay <nick@windblume.net>2022-07-18 10:26:05 +1000
commit338256206f5e11d7e21a714dedb461ae89281526 (patch)
treea67e03473a2f2e749e58b2babe532ace9d396826 /foray/Presenters
parent8b255702c674bf1bfeca96697711f6e4f088dfdb (diff)
downloadforayios-338256206f5e11d7e21a714dedb461ae89281526.tar.gz
forayios-338256206f5e11d7e21a714dedb461ae89281526.tar.bz2
forayios-338256206f5e11d7e21a714dedb461ae89281526.zip
Custom share sheet icons and load them with UIImage
Found that LPLinkMetadata + NSItemProvider can actually use UIImage. I think this is better now since not using a bundle load and can use assets.
Diffstat (limited to 'foray/Presenters')
-rw-r--r--foray/Presenters/PenguinItemPresenter.swift2
1 files changed, 1 insertions, 1 deletions
diff --git a/foray/Presenters/PenguinItemPresenter.swift b/foray/Presenters/PenguinItemPresenter.swift
index 45b970c..9d6525d 100644
--- a/foray/Presenters/PenguinItemPresenter.swift
+++ b/foray/Presenters/PenguinItemPresenter.swift
@@ -21,7 +21,7 @@ class PenguinItemPresenter {
return transform(models: apiItems)
}
- func transform(models: [PenguinItemModel]) -> [PenguinItemViewModel] {
+ private func transform(models: [PenguinItemModel]) -> [PenguinItemViewModel] {
let dateFormatter = DateFormatter()
dateFormatter.dateFormat = "yyyy-MM-dd"