From bb5af3da7f9350287870c74eae623f9a377ddd4c Mon Sep 17 00:00:00 2001 From: SpiritCroc Date: Tue, 19 Apr 2022 09:48:14 +0200 Subject: [PATCH] Remove viewpager debug toasts again Change-Id: Ib905adf383ca77290320c157f467edd12aca2618 --- .../java/im/vector/app/features/home/HomeDetailFragment.kt | 4 ---- 1 file changed, 4 deletions(-) diff --git a/vector/src/main/java/im/vector/app/features/home/HomeDetailFragment.kt b/vector/src/main/java/im/vector/app/features/home/HomeDetailFragment.kt index 3220659ad2..b1c9b3bba5 100644 --- a/vector/src/main/java/im/vector/app/features/home/HomeDetailFragment.kt +++ b/vector/src/main/java/im/vector/app/features/home/HomeDetailFragment.kt @@ -683,14 +683,10 @@ class HomeDetailFragment @Inject constructor( private fun getSpaceIdForPageIndex(position: Int, spaces: List? = pagerSpaces): String? { if (spaces == null) { Timber.e(Exception("getSpaceIdForPageIndex: null spaces!")) - if (DEBUG_VIEW_PAGER) { - Toast.makeText(requireContext(), "AAAAAAAA1", Toast.LENGTH_SHORT).show() - } return null } if (DEBUG_VIEW_PAGER && position > 0 && spaces[position-1] == null) { Timber.e(Exception("getSpaceIdForPageIndex: null space!")) - Toast.makeText(requireContext(), "AAAAAAAA2", Toast.LENGTH_SHORT).show() } return if (position == 0) null else spaces[position-1] }