Skip to content

Commit

Permalink
Fix publishing of loading overlay state
Browse files Browse the repository at this point in the history
  • Loading branch information
tmolitor-stud-tu committed Sep 8, 2024
1 parent f93cba7 commit 70db226
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Monal/Classes/LoadingOverlay.swift
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@

//data class for overlay state
class LoadingOverlayState : ObservableObject {
var enabled: Bool
var headline: AnyView
var description: AnyView
@Published var enabled: Bool
@Published var headline: AnyView
@Published var description: AnyView
init(enabled:Bool = false, headline:AnyView = AnyView(Text("")), description:AnyView = AnyView(Text(""))) {
self.enabled = enabled
self.headline = headline
Expand Down

0 comments on commit 70db226

Please sign in to comment.