From 860d203be76d3ccedcb6a458a3816ef6490959c6 Mon Sep 17 00:00:00 2001 From: Laurent Date: Fri, 11 Sep 2020 16:55:58 +0200 Subject: [PATCH] Remove unused rows --- .../ui/modules/data/LocationDataFragment.kt | 20 +++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/app/src/main/java/net/pokeranalytics/android/ui/modules/data/LocationDataFragment.kt b/app/src/main/java/net/pokeranalytics/android/ui/modules/data/LocationDataFragment.kt index 393c65b0..012b062e 100644 --- a/app/src/main/java/net/pokeranalytics/android/ui/modules/data/LocationDataFragment.kt +++ b/app/src/main/java/net/pokeranalytics/android/ui/modules/data/LocationDataFragment.kt @@ -140,16 +140,16 @@ class LocationDataFragment : EditableDataFragment(), StaticRowRepresentableDataS // Add info row to explain why we need the location permission rows.add(CustomizableRowRepresentable(customViewType = RowViewType.INFO, resId = R.string.location_when_in_use_usage_description)) - if (isLookingForPlaces) { - rows.add(LocationRow.LOCATION_LOADER) - } - - if (locationActivated && rowPlaces.size > 0) { - rows.add(CustomizableRowRepresentable(resId = R.string.suggestions)) - for (row in rowPlaces) { - rows.add(row) - } - } +// if (isLookingForPlaces) { +// rows.add(LocationRow.LOCATION_LOADER) +// } +// +// if (locationActivated && rowPlaces.size > 0) { +// rows.add(CustomizableRowRepresentable(resId = R.string.suggestions)) +// for (row in rowPlaces) { +// rows.add(row) +// } +// } } /**