Reputation: 575
Getting error when space is not available between LiveData = _darkMode
Does anyone know why this is occurring or is this a bug?
Upvotes: 0
Views: 71
Reputation: 1220
You need a space before the equal sign:
val darkMode: LiveData<Boolean> = _darkMode
Upvotes: 1