mirror of
https://github.com/Dimillian/IceCubesApp.git
synced 2024-12-23 07:36:48 +00:00
Fix extensions recent tags
This commit is contained in:
parent
6aae6f7e40
commit
75987d74aa
1 changed files with 7 additions and 0 deletions
|
@ -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 a new issue