From 55e78a430132ba43042382275edce83ab0832f57 Mon Sep 17 00:00:00 2001 From: Robin Meersman Date: Sat, 27 Jul 2024 21:37:40 +0200 Subject: [PATCH] fix: declared WViewModel as open te allow inheritance --- app/src/main/java/be/re/writand/screens/WViewModel.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/be/re/writand/screens/WViewModel.kt b/app/src/main/java/be/re/writand/screens/WViewModel.kt index 1f4e4de..aa68442 100644 --- a/app/src/main/java/be/re/writand/screens/WViewModel.kt +++ b/app/src/main/java/be/re/writand/screens/WViewModel.kt @@ -11,7 +11,7 @@ import kotlinx.coroutines.launch /** * Custom viewmodel class for this app. */ -class WViewModel : ViewModel() { +open class WViewModel : ViewModel() { /** * Function to launch a suspended function in viewmodel scope.