Skip to content

Commit

Permalink
Merge branch 'main' into refactor/challenge-view
Browse files Browse the repository at this point in the history
  • Loading branch information
Sembauke committed Feb 27, 2025
2 parents 2434183 + 764e122 commit 9a124ea
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 13 deletions.
2 changes: 1 addition & 1 deletion mobile-app/lib/service/firebase/remote_config_service.dart
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ class RemoteConfigService {
),
);
await remoteConfig.setDefaults({
'min_app_version': '5.0.0',
'min_app_version': '5.0.1',
});

await remoteConfig.fetchAndActivate();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -132,18 +132,18 @@ class EnglishView extends StatelessWidget {
),
Column(
children: [
Padding(
padding: const EdgeInsets.all(8.0),
child: Text(
'Fill in the Blanks',
style: TextStyle(
fontSize: FontSize.large.value,
fontWeight: FontWeight.bold,
fontFamily: 'Inter',
if (challenge.fillInTheBlank != null) ...[
Padding(
padding: const EdgeInsets.all(8.0),
child: Text(
'Fill in the Blanks',
style: TextStyle(
fontSize: FontSize.large.value,
fontWeight: FontWeight.bold,
fontFamily: 'Inter',
),
),
),
),
if (challenge.fillInTheBlank != null)
Container(
color: const Color(0xFF0a0a23),
margin: const EdgeInsets.all(8),
Expand All @@ -163,6 +163,7 @@ class EnglishView extends StatelessWidget {
],
),
),
],
Row(
children: [
Expanded(
Expand Down Expand Up @@ -190,7 +191,7 @@ class EnglishView extends StatelessWidget {
block)
: () => {model.checkAnswers(challenge)},
child: Text(
model.allInputsCorrect
model.allInputsCorrect || challenge.fillInTheBlank == null
? 'Go to Next Challenge'
: 'Check Answers',
style: const TextStyle(fontSize: 20),
Expand Down
2 changes: 1 addition & 1 deletion mobile-app/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: freecodecamp
description: freecodecamp.org app.
publish_to: none
version: 5.0.0+50000
version: 5.0.1+50001
environment:
sdk: ">=3.0.0 <4.0.0"
dependencies:
Expand Down

0 comments on commit 9a124ea

Please sign in to comment.