mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-03 06:55:59 +00:00
Refactor vm context (#769)
This commit is contained in:
@@ -16,9 +16,9 @@
|
||||
|
||||
@testable import ElementX
|
||||
|
||||
extension ViewModelContext {
|
||||
extension StateStoreViewModel.Context {
|
||||
@discardableResult
|
||||
func nextViewState() async -> ViewState? {
|
||||
func nextViewState() async -> State? {
|
||||
await $viewState.nextValue
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user