mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-29 12:46:58 +02:00
Fix imports and move logic to AvatarViewModel
This commit is contained in:
@@ -16,6 +16,8 @@
|
||||
|
||||
import Foundation
|
||||
|
||||
struct AvatarViewState {
|
||||
var avatarImage: UIImage?
|
||||
enum AvatarViewState {
|
||||
case empty
|
||||
case placeholder(String, Int)
|
||||
case avatar(UIImage)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user