fix column count

This commit is contained in:
Felix 2020-06-14 01:44:09 +02:00
parent a827a86cac
commit e95c4b2aa7

View file

@ -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) {