Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

move to production #2430

Merged
merged 6 commits into from
Jan 29, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ class AnalyticsCard extends StatelessWidget {
child: Column(
crossAxisAlignment: CrossAxisAlignment.start,
children: [
Text(measurement.siteDetails!.locationName ?? "",
Text(measurement.siteDetails!.name ?? "",
style: TextStyle(
fontSize: 28,
fontWeight: FontWeight.w700,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,16 +27,14 @@ class _AnalyticsForecastWidgetState extends State<AnalyticsForecastWidget> {

double _getResponsiveHeight(BuildContext context) {
final screenHeight = MediaQuery.of(context).size.height;
// Calculate height based on screen size, with minimum and maximum bounds
final height = screenHeight * 0.1; // 10% of screen height
return height.clamp(60.0, 100.0); // Min 60, max 100
final height = screenHeight * 0.1;
return height.clamp(60.0, 100.0);
}

double _getResponsiveIconSize(BuildContext context) {
final screenWidth = MediaQuery.of(context).size.width;
// Calculate icon size based on screen width
final iconSize = screenWidth * 0.04; // 4% of screen width
return iconSize.clamp(20.0, 30.0); // Min 20, max 30
final iconSize = screenWidth * 0.04;
return iconSize.clamp(20.0, 30.0);
}

double _getResponsiveMargin(BuildContext context) {
Expand Down
2 changes: 1 addition & 1 deletion mobile-v3/lib/src/app/learn/pages/lesson_finished.dart
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ class LessonFinishedWidget extends StatelessWidget {
child: Column(
mainAxisAlignment: MainAxisAlignment.center,
children: [
Text("👋🏼 Great Job Jordan!",
Text("👋🏼 Great Job !",
style: TextStyle(fontSize: 20, fontWeight: FontWeight.w700)),
Text(
"You can invite your friends to learn a thing about Air Pollution",
Expand Down
Loading