Свайп-реплай: Telegram-parity эффекты и иконка
This commit is contained in:
@@ -2,11 +2,11 @@ import ActivityKit
|
||||
import Foundation
|
||||
|
||||
struct CallActivityAttributes: ActivityAttributes {
|
||||
/// Fixed data set when the activity starts.
|
||||
let peerName: String
|
||||
let peerPublicKey: String
|
||||
let avatarData: Data?
|
||||
let colorIndex: Int
|
||||
|
||||
/// Dynamic state updated during the call.
|
||||
struct ContentState: Codable, Hashable {
|
||||
let durationSec: Int
|
||||
let isActive: Bool
|
||||
|
||||
Reference in New Issue
Block a user