From 93750829d7896ce761ab13442f820829c4ca63df Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafa=C5=82=20Borcz?= Date: Sun, 6 Oct 2019 18:21:56 +0200 Subject: [PATCH] Fix duplicate percentage in attendance summary (#548) --- .../ui/modules/attendance/summary/AttendanceSummaryFragment.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/io/github/wulkanowy/ui/modules/attendance/summary/AttendanceSummaryFragment.kt b/app/src/main/java/io/github/wulkanowy/ui/modules/attendance/summary/AttendanceSummaryFragment.kt index 4109bbea8..4fe490d5e 100644 --- a/app/src/main/java/io/github/wulkanowy/ui/modules/attendance/summary/AttendanceSummaryFragment.kt +++ b/app/src/main/java/io/github/wulkanowy/ui/modules/attendance/summary/AttendanceSummaryFragment.kt @@ -80,7 +80,7 @@ class AttendanceSummaryFragment : BaseFragment(), AttendanceSummaryView, MainVie override fun updateDataSet(data: List, header: AttendanceSummaryScrollableHeader) { with(attendanceSummaryAdapter) { updateDataSet(data, true) - removeAllScrollableFooters() + removeAllScrollableHeaders() addScrollableHeader(header) } }