Skip to content

Commit

Permalink
Fixed #814: Added UIContext.apply from Context function
Browse files Browse the repository at this point in the history
  • Loading branch information
davesmith00000 committed Feb 2, 2025
1 parent f28e2e4 commit b96b006
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,9 @@ object UIContext:
subSystemContext.services
)

def apply(ctx: Context[?]): UIContext[Unit] =
fromContext(ctx, ())

def fromContext[ReferenceData](
ctx: Context[?],
reference: ReferenceData
Expand Down

0 comments on commit b96b006

Please sign in to comment.