diff --git a/app/src/main/java/com/nextcloud/talk/polls/viewmodels/PollResultsViewModel.kt b/app/src/main/java/com/nextcloud/talk/polls/viewmodels/PollResultsViewModel.kt index 5633394f2..205d2a9af 100644 --- a/app/src/main/java/com/nextcloud/talk/polls/viewmodels/PollResultsViewModel.kt +++ b/app/src/main/java/com/nextcloud/talk/polls/viewmodels/PollResultsViewModel.kt @@ -40,7 +40,6 @@ package com.nextcloud.talk.polls.viewmodels -import androidx.lifecycle.LiveData import androidx.lifecycle.MutableLiveData import androidx.lifecycle.ViewModel import com.nextcloud.talk.polls.adapters.PollResultHeaderItem @@ -59,10 +58,6 @@ class PollResultsViewModel @Inject constructor() : ViewModel() { val poll: Poll? get() = _poll - private val _viewState: MutableLiveData = MutableLiveData(InitialState) - val viewState: LiveData - get() = _viewState - private var _unfilteredItems: ArrayList = ArrayList() private var _items: MutableLiveData?> = MutableLiveData?>()