Remove observability from the home model, and use inner models for updating specific parts of the UI, such as notification dots on the tab bar.
13 lines
234 B
Swift
13 lines
234 B
Swift
//
|
|
// NotificationStatusModel.swift
|
|
// damus
|
|
//
|
|
// Created by William Casarin on 2023-06-23.
|
|
//
|
|
|
|
import Foundation
|
|
|
|
class NotificationStatusModel: ObservableObject {
|
|
@Published var new_events: NewEventsBits = NewEventsBits()
|
|
}
|