2023-03-11 18:30:33 +01:00
|
|
|
//
|
|
|
|
// https://mczachurski.dev
|
|
|
|
// Copyright © 2023 Marcin Czachurski and the repository contributors.
|
2023-03-28 10:35:38 +02:00
|
|
|
// Licensed under the Apache License 2.0.
|
2023-03-11 18:30:33 +01:00
|
|
|
//
|
2023-04-01 12:10:59 +02:00
|
|
|
|
2023-03-11 18:30:33 +01:00
|
|
|
import WidgetKit
|
|
|
|
import SwiftUI
|
|
|
|
|
2023-05-01 07:50:24 +02:00
|
|
|
struct QRCodeWidgetEntry: TimelineEntry {
|
2023-03-11 18:30:33 +01:00
|
|
|
let date: Date
|
2023-05-01 07:50:24 +02:00
|
|
|
let accountId: String
|
2023-05-01 18:01:07 +02:00
|
|
|
let acct: String
|
2023-03-11 18:30:33 +01:00
|
|
|
let avatar: UIImage?
|
|
|
|
let displayName: String?
|
2023-05-01 07:50:24 +02:00
|
|
|
let profileUrl: URL?
|
|
|
|
let avatarUrl: URL?
|
|
|
|
let portfolioUrl: URL?
|
2023-03-11 18:30:33 +01:00
|
|
|
}
|