Skip to content

Commit

Permalink
small tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
bmaroti9 committed Apr 28, 2024
1 parent 9364d7d commit 88ef060
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion lib/main_screens.dart
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Widget NewMain(data, updateLocation, context) {
drawer: MyDrawer(primary: data.current.backup_primary, back: data.current.backup_backcolor,
settings: data.settings, image: data.current.backdrop,),
body: StretchyHeader.listView(
displacement: 150,
displacement: 130,
onRefresh: () async {
await updateLocation("${data.lat}, ${data.lng}", data.real_loc);
},
Expand Down
2 changes: 1 addition & 1 deletion lib/main_ui.dart
Original file line number Diff line number Diff line change
Expand Up @@ -632,7 +632,7 @@ Widget buildGlanceDay(var data) => Padding(
Widget buildHours(List<dynamic> hours, data) => SizedBox(
height: 290,
child: ListView(
physics: const BouncingScrollPhysics(decelerationRate: ScrollDecelerationRate.fast),
physics: const BouncingScrollPhysics(),
scrollDirection: Axis.horizontal,
children: hours.map<Widget>((hour) {
return Column(
Expand Down
4 changes: 2 additions & 2 deletions lib/weather_refact.dart
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ Map<String, Color> textBackColor = {
'Thunderstorm': const Color(0xff776475),
'Heavy Snow': const Color(0xffb0c4ba),
'Fog': const Color(0xff151E1B),
'Snow': const Color(0xffcfd0c9),
'Snow': const Color(0xff919186),
'Heavy Rain': const Color(0xff314949),
'Cloudy Night': const Color(0xff112f56)
};
Expand All @@ -267,7 +267,7 @@ Map<String, Color> accentColors = {
'Thunderstorm': const Color(0xFF889B8A),
'Heavy Snow': const Color(0xFF4A5258),
'Fog': const Color(0xFF4C6381),
'Snow': const Color(0xFF83A6A0),
'Snow': const Color(0xFF9BC5BD),
'Heavy Rain': const Color(0xFF8A8667),
'Cloudy Night': const Color(0xFF998BB5),
};
Expand Down

0 comments on commit 88ef060

Please sign in to comment.