Skip to content

Commit

Permalink
Bug fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
ramackersjp committed Jun 26, 2024
1 parent 1cfc1b4 commit 87c7fac
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 8 deletions.
1 change: 1 addition & 0 deletions flutter
Submodule flutter added at 761747
2 changes: 1 addition & 1 deletion lib/app.dart
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ class WeatherApp extends StatelessWidget {
Widget build(BuildContext context) {
return GetMaterialApp(
debugShowCheckedModeBanner: false,
title: 'Weather App',
title: 'Weather',
theme: ThemeData(
colorSchemeSeed: AppColors.primaryColor,
useMaterial3: true,
Expand Down
4 changes: 2 additions & 2 deletions lib/view/screens/forecast_list_screen.dart
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ class ForecastListScreen extends StatelessWidget {
return Scaffold(
backgroundColor: const Color.fromARGB(255, 37, 49, 593),
appBar: appBarStyle(
title: "5-day forecast",
title: "3-day forecast",
locationIcon: true,
selectedLocation: location,
),
Expand All @@ -45,7 +45,7 @@ class ForecastListScreen extends StatelessWidget {
child: ListView.builder(
shrinkWrap: true,
scrollDirection: Axis.horizontal,
itemCount: 5,
itemCount: 3,
itemBuilder: (context, index) {
DateTime forecastDate = DateTime.parse(forecast[index].date ?? 'N/A');
bool isCurrentDate = DateTime.now().day == forecastDate.day &&
Expand Down
6 changes: 3 additions & 3 deletions lib/view/screens/home_screen.dart
Original file line number Diff line number Diff line change
Expand Up @@ -340,7 +340,7 @@ Widget homeScreenForecastList(
width: 10,
),
Text(
"Next Three days forecast",
"Tomorrow",
style: GoogleFonts.roboto(
textStyle: const TextStyle(
color: AppColors.secondaryColor,
Expand All @@ -352,7 +352,7 @@ Widget homeScreenForecastList(
ListView.builder(
physics: const NeverScrollableScrollPhysics(),
shrinkWrap: true,
itemCount: 3,
itemCount: 1,
itemBuilder: (BuildContext context, int index) {
final day = forecast[index + 1].day!;
return Row(
Expand Down Expand Up @@ -662,7 +662,7 @@ Widget forecastButton(
),
child: Center(
child: Text(
'5-day forecast',
'3-day forecast',
style: GoogleFonts.roboto(
textStyle: const TextStyle(
color: AppColors.secondaryColor,
Expand Down
2 changes: 1 addition & 1 deletion lib/view/screens/search_screen.dart
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ class _SearchScreenState extends State<SearchScreen> {
return Scaffold(
backgroundColor: const Color.fromARGB(255, 37, 49, 59),
appBar: appBarStyle(
title: "Search Location!!!!!",
title: "Your location:",
),
body: Padding(
padding: const EdgeInsets.all(10.0),
Expand Down
2 changes: 1 addition & 1 deletion lib/view/screens/splash_screen.dart
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ class _SplashScreenState extends State<SplashScreen> {
),
const Spacer(),
Text(
'1.0.0',
'1.0.1',
style: GoogleFonts.roboto(
textStyle: const TextStyle(
color: AppColors.secondaryColor,
Expand Down

0 comments on commit 87c7fac

Please sign in to comment.