File tree Expand file tree Collapse file tree 1 file changed +9
-6
lines changed
godtools/App/Features/Lessons/Presentation/Lessons/Subviews/LessonCard Expand file tree Collapse file tree 1 file changed +9
-6
lines changed Original file line number Diff line number Diff line change @@ -56,18 +56,21 @@ struct LessonCardView: View {
56
56
57
57
FixedVerticalSpacer ( height: 9 )
58
58
59
+ if viewModel. shouldShowLessonProgress {
60
+ LessonCompletionProgressBar ( lessonProgress: viewModel. lessonProgress)
61
+ . padding ( . bottom, 15 )
62
+
63
+ } else {
64
+ Spacer ( )
65
+ }
66
+
59
67
HStack ( alignment: . center, spacing: 10 ) {
60
68
61
69
Text ( viewModel. completionString)
62
70
. font ( FontLibrary . sfProDisplayRegular. font ( size: 12 ) )
63
71
. foregroundColor ( ColorPalette . gtBlue. color)
64
72
65
- if viewModel. shouldShowLessonProgress {
66
- LessonCompletionProgressBar ( lessonProgress: viewModel. lessonProgress)
67
- . padding ( . bottom, 5 )
68
- } else {
69
- Spacer ( )
70
- }
73
+ Spacer ( )
71
74
72
75
ToolCardLanguageAvailabilityView (
73
76
languageAvailability: viewModel. appLanguageAvailability
You can’t perform that action at this time.
0 commit comments