diff options
author | Henrik Storch <henrik.storch@nextcloud.com> | 2022-05-05 08:52:16 +0300 |
---|---|---|
committer | Henrik Storch <henrik.storch@nextcloud.com> | 2022-05-05 09:54:44 +0300 |
commit | a1598d799adcfc6811e65a9c25e63945292515e0 (patch) | |
tree | 9119968d63c3018c85349d32ebab0669df21d773 /iOSClient | |
parent | 43b97986c21eb04ff352d93e1c19f7a2ea9257d4 (diff) |
Add share menu icons
- use SF Symbols by default
Signed-off-by: Henrik Storch <henrik.storch@nextcloud.com>
Diffstat (limited to 'iOSClient')
-rw-r--r-- | iOSClient/Activity/NCActivity.swift | 2 | ||||
-rw-r--r-- | iOSClient/Menu/NCShare+Menu.swift | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/iOSClient/Activity/NCActivity.swift b/iOSClient/Activity/NCActivity.swift index 72e13a7c1..39edd3544 100644 --- a/iOSClient/Activity/NCActivity.swift +++ b/iOSClient/Activity/NCActivity.swift @@ -498,7 +498,7 @@ extension NCActivity: NCShareCommentsCellDelegate { actions.append( NCMenuAction( title: NSLocalizedString("_edit_comment_", comment: ""), - icon: UIImage(named: "edit")!.image(color: NCBrandColor.shared.gray, size: 50), + icon: UIImage(named: "pencil")!.image(color: NCBrandColor.shared.gray, size: 50), action: { _ in guard let metadata = self.metadata, let tableComments = tableComments else { return } diff --git a/iOSClient/Menu/NCShare+Menu.swift b/iOSClient/Menu/NCShare+Menu.swift index 88defd5b1..0ec28c6e3 100644 --- a/iOSClient/Menu/NCShare+Menu.swift +++ b/iOSClient/Menu/NCShare+Menu.swift @@ -43,7 +43,7 @@ extension NCShare { actions.append( NCMenuAction( title: NSLocalizedString("_details_", comment: ""), - icon: NCUtility.shared.loadImage(named: "edit"), + icon: NCUtility.shared.loadImage(named: "pencil"), action: { _ in guard let advancePermission = UIStoryboard(name: "NCShare", bundle: nil).instantiateViewController(withIdentifier: "NCShareAdvancePermission") as? NCShareAdvancePermission, @@ -76,7 +76,7 @@ extension NCShare { actions.append( NCMenuAction( title: NSLocalizedString("_share_read_only_", comment: ""), - icon: UIImage(), + icon: NCUtility.shared.loadImage(named: "eye"), selected: tableShare.permissions == (NCGlobal.shared.permissionReadShare + NCGlobal.shared.permissionShareShare) || tableShare.permissions == NCGlobal.shared.permissionReadShare, on: false, action: { _ in @@ -90,7 +90,7 @@ extension NCShare { actions.append( NCMenuAction( title: isDirectory ? NSLocalizedString("_share_allow_upload_", comment: "") : NSLocalizedString("_share_editing_", comment: ""), - icon: UIImage(), + icon: NCUtility.shared.loadImage(named: "pencil"), selected: hasUploadPermission(tableShare: tableShare), on: false, action: { _ in |