From e95c4b2aa7a58c9f6c982138bd764ce3daefe2ee Mon Sep 17 00:00:00 2001 From: Felix Date: Sun, 14 Jun 2020 01:44:09 +0200 Subject: [PATCH] fix column count --- .../touch/browse/streaming/LivestreamListFragment.kt | 5 ----- 1 file changed, 5 deletions(-) diff --git a/touch/src/main/java/de/nicidienase/chaosflix/touch/browse/streaming/LivestreamListFragment.kt b/touch/src/main/java/de/nicidienase/chaosflix/touch/browse/streaming/LivestreamListFragment.kt index e06ba884..4ed0e31a 100644 --- a/touch/src/main/java/de/nicidienase/chaosflix/touch/browse/streaming/LivestreamListFragment.kt +++ b/touch/src/main/java/de/nicidienase/chaosflix/touch/browse/streaming/LivestreamListFragment.kt @@ -40,11 +40,6 @@ class LivestreamListFragment : Fragment() { fun castStream(streamingItem: StreamingItem, streamUrl: StreamUrl, s: String) {} } - override fun onCreate(savedInstanceState: Bundle?) { - super.onCreate(savedInstanceState) - columnCount = requireArguments().getInt(ARG_COLUMN_COUNT) - } - override fun onCreateView(inflater: LayoutInflater, container: ViewGroup?, savedInstanceState: Bundle?): View? { binding = FragmentLivestreamsBinding.inflate(inflater, container, false) if (columnCount <= 1) {