mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge.git
synced 2026-07-31 07:44:24 +02:00
Workout Details: Add missing separator when there is only a chart
This commit is contained in:
+5
@@ -290,6 +290,11 @@ class WorkoutDetailsFragment : Fragment(), MenuProvider {
|
||||
addGroupContent(entries)
|
||||
}
|
||||
|
||||
if (!groupCharts.isEmpty() && entries.isEmpty()) {
|
||||
// Add the initial separator
|
||||
binding.summaryDetails.addView(createSeparator())
|
||||
}
|
||||
|
||||
groupCharts.forEach { chart ->
|
||||
addChart(binding.summaryDetails, false, chart, workout.charts)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user