From 4b6a314514f5ae8d86f52553d2dd076355708c9f Mon Sep 17 00:00:00 2001 From: Marcel Hibbe Date: Tue, 19 Jul 2022 11:29:06 +0200 Subject: [PATCH] remove unused viewState Signed-off-by: Marcel Hibbe --- .../nextcloud/talk/polls/viewmodels/PollResultsViewModel.kt | 5 ----- 1 file changed, 5 deletions(-) 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?>()