mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-03 06:55:59 +00:00
Fix project warnings (#791)
- Swift 5.8 warnings - Run SwiftFormat 0.51.5 - Fix SwiftLint blanket_disable_command warnings. (Assets.swift will be fixed by SwiftGen).
This commit is contained in:
@@ -50,8 +50,9 @@ class EmojiPickerScreenViewModel: EmojiPickerScreenViewModelType, EmojiPickerScr
|
||||
|
||||
private func loadEmojis() {
|
||||
Task(priority: .userInitiated) { [weak self] in
|
||||
let categories = await emojiProvider.getCategories(searchString: nil)
|
||||
self?.state.categories = convert(emojiCategories: categories)
|
||||
guard let self else { return }
|
||||
let categories = await self.emojiProvider.getCategories(searchString: nil)
|
||||
self.state.categories = convert(emojiCategories: categories)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user