From 88ef060a22c82fcc992394901373420adfb8665b Mon Sep 17 00:00:00 2001 From: bmaroti9 Date: Sun, 28 Apr 2024 12:33:30 +0200 Subject: [PATCH] small tweaks --- lib/main_screens.dart | 2 +- lib/main_ui.dart | 2 +- lib/weather_refact.dart | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/main_screens.dart b/lib/main_screens.dart index 75506b5..5b8f818 100644 --- a/lib/main_screens.dart +++ b/lib/main_screens.dart @@ -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); }, diff --git a/lib/main_ui.dart b/lib/main_ui.dart index 31bdf89..286820c 100644 --- a/lib/main_ui.dart +++ b/lib/main_ui.dart @@ -632,7 +632,7 @@ Widget buildGlanceDay(var data) => Padding( Widget buildHours(List hours, data) => SizedBox( height: 290, child: ListView( - physics: const BouncingScrollPhysics(decelerationRate: ScrollDecelerationRate.fast), + physics: const BouncingScrollPhysics(), scrollDirection: Axis.horizontal, children: hours.map((hour) { return Column( diff --git a/lib/weather_refact.dart b/lib/weather_refact.dart index 55ab07a..49eb01e 100644 --- a/lib/weather_refact.dart +++ b/lib/weather_refact.dart @@ -250,7 +250,7 @@ Map 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) }; @@ -267,7 +267,7 @@ Map 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), };