Merge branch 'frontend/WViewModel-fix' into 'main'

fix: declared WViewModel as open te allow inheritance

See merge request EmmaVandewalle/writand!36
This commit is contained in:
Emma Vandewalle 2024-07-27 19:45:11 +00:00
commit c822126703

View file

@ -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.