mirror of
https://github.com/Dimillian/IceCubesApp.git
synced 2024-12-22 21:08:15 +01:00
Fix extensions recent tags
This commit is contained in:
parent
6aae6f7e40
commit
75987d74aa
@ -6,6 +6,7 @@ import Network
|
||||
import StatusKit
|
||||
import SwiftUI
|
||||
import UIKit
|
||||
import Models
|
||||
|
||||
class ShareViewController: UIViewController {
|
||||
override func viewDidLoad() {
|
||||
@ -33,6 +34,12 @@ class ShareViewController: UIViewController {
|
||||
.environment(account)
|
||||
.environment(theme)
|
||||
.environment(instance)
|
||||
.modelContainer(for: [
|
||||
Draft.self,
|
||||
LocalTimeline.self,
|
||||
TagGroup.self,
|
||||
RecentTag.self,
|
||||
])
|
||||
.tint(theme.tintColor)
|
||||
.preferredColorScheme(colorScheme == .light ? .light : .dark)
|
||||
let childView = UIHostingController(rootView: view)
|
||||
|
Loading…
Reference in New Issue
Block a user