fixed cloud animation, fixed #625

This commit is contained in:
Pranshul committed 2025-09-06 19:54:52 +05:30
1 parent 774755709a
commit a7ece19ea3
9 files changed
+57 -10

No files matched your search

+7 -4
View File
@@ -1295,10 +1295,13 @@ class ConditionsWidgetsForecast extends StatelessWidget {
.onSurface,
fontSize: isFoldableLayout(context)
? 60
: MediaQuery.of(context)
.size
.width *
0.1,
: context.locale.languageCode ==
'bg'
? 24
: MediaQuery.of(context)
.size
.width *
0.1,
),
),
),
+6 -2
View File
@@ -118,7 +118,9 @@ class _AppUnitsPageState extends State<AppUnitsPage> {
? "M/s"
: currentWindMode == "Bft"
? "Bft"
: "Km/h"]!),
: currentWindMode == "Kt"
? "Kt"
: "Km/h"]!),
dialogTitle: 'wind_unit'.tr(),
options: optionsWind.values.toList(),
initialOption: optionsWind[currentWindMode == "Mph"
@@ -127,7 +129,9 @@ class _AppUnitsPageState extends State<AppUnitsPage> {
? "M/s"
: currentWindMode == "Bft"
? "Bft"
: "Km/h"],
: currentWindMode == "Kt"
? "Kt"
: "Km/h"],
onSubmitted: (value) {
final selectedKey = optionsWind.entries
.firstWhere((e) => e.value == value)
+12 -2
View File
@@ -146,10 +146,20 @@ class WeatherConditionAnimationMapper {
),
),
Positioned(
top: -MediaQuery.of(context).padding.top,
top: (setFullDisplay &&
secondaryAnimationUrl
.contains('cloudy_background.json') &&
animationUrl.contains('cloudy_background.json'))
? -MediaQuery.of(context).padding.top - (topMain ?? 0)
: -MediaQuery.of(context).padding.top,
left: 0,
right: 0,
height: diffHeight ?? 500,
// height: diffHeight ?? 500,
height: (isSunAnim == true && !isNightBool)
? diffHeight ?? 500
: setFullDisplay
? MediaQuery.of(context).size.height
: diffHeight ?? 500,
child: RepaintBoundary(
child: Lottie.asset(
secondaryAnimationUrl,
+5 -2
View File
@@ -763,7 +763,10 @@ class _ConditionsWidgetsState extends State<ConditionsWidgets> {
color: Theme.of(context).colorScheme.onSurface,
fontSize: isFoldableLayout(context)
? 60
: MediaQuery.of(context).size.width * 0.1,
: context.locale.languageCode == 'bg'
? 24
: MediaQuery.of(context).size.width *
0.1,
),
),
),
@@ -780,7 +783,7 @@ class _ConditionsWidgetsState extends State<ConditionsWidgets> {
color: Theme.of(context)
.colorScheme
.onSurfaceVariant,
fontSize: 16,
fontSize: 18,
),
maxLines: 1,
overflow: TextOverflow.ellipsis,
@@ -777,3 +777,19 @@ create_cxx_tasks
[gap of 34ms]
create_cxx_tasks completed in 314ms
# C/C++ build system timings
create_cxx_tasks
create-initial-cxx-model
create-module-model 54ms
create-variant-model 17ms
create-ARMEABI_V7A-model 57ms
create-ARM64_V8A-model 10ms
[gap of 37ms]
create-ARM64_V8A-model 10ms
create-X86-model 12ms
create-module-model 10ms
[gap of 33ms]
create-initial-cxx-model completed in 257ms
[gap of 29ms]
create_cxx_tasks completed in 298ms
@@ -212,3 +212,14 @@ create_cxx_tasks
[gap of 32ms]
create_cxx_tasks completed in 439ms
# C/C++ build system timings
create_cxx_tasks
create-initial-cxx-model
create-module-model 34ms
create-variant-model 14ms
create-ARMEABI_V7A-model 33ms
[gap of 84ms]
create-initial-cxx-model completed in 169ms
[gap of 32ms]
create_cxx_tasks completed in 207ms