mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-21 20:45:51 +03:00
Add converter method fro nksharee to suggestion
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
This commit is contained in:
parent
3012976d9b
commit
ad43c13882
1 changed files with 4 additions and 0 deletions
|
@ -37,4 +37,8 @@ class ShareeSuggestionsDataSource: SuggestionsDataSource {
|
|||
)
|
||||
}
|
||||
}
|
||||
|
||||
private func suggestionsFromSharees(_ sharees: [NKSharee]) -> [Suggestion] {
|
||||
sharees.map { Suggestion(imageName: "person.fill", displayText: $0.name, data: $0) }
|
||||
} // TODO: Improve img
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue