diff --git a/assets/translations/en.json b/assets/translations/en.json index beb197e62..bc852d6eb 100644 --- a/assets/translations/en.json +++ b/assets/translations/en.json @@ -556,5 +556,18 @@ "animations": "Animations", "layout": "Layout", "use_expressive_palette": "Use expressive palette", - "new_version_snack_message": "Show a snack message when a new version is released" + "new_version_snack_message": "Show a snack message when a new version is released", + "insights_sub_38": "The air will feel humid and sticky.", + "insights_sub_39": "The air will feel comfortable and pleasant.", + "insights_sub_40": "Expect dry and crisp air, very refreshing.", + "insights_sub_41": "Very hot — light clothing is best.", + "insights_sub_42": "Mild and warm — shorts or a t-shirt should be fine.", + "insights_sub_43": "Cool weather — a jacket or sweater will help.", + "insights_sub_44": "Cold conditions — bundle up with a coat.", + "insights_sub_45": "Thick fog expected, with very low visibility.", + "insights_sub_46": "Some mist or haze may reduce visibility at times.", + "insights_sub_47": "Good visibility all day — clear conditions.", + "insights_sub_48": "Extreme heat possible — may approach record highs.", + "insights_sub_49": "Very cold weather expected — possibly record lows.", + "insights_sub_50": "Temperatures are within the usual range — no records expected." } diff --git a/assets/translations/source.json b/assets/translations/source.json index bc852d6eb..3d861ddcb 100644 --- a/assets/translations/source.json +++ b/assets/translations/source.json @@ -569,5 +569,7 @@ "insights_sub_47": "Good visibility all day — clear conditions.", "insights_sub_48": "Extreme heat possible — may approach record highs.", "insights_sub_49": "Very cold weather expected — possibly record lows.", - "insights_sub_50": "Temperatures are within the usual range — no records expected." + "insights_sub_50": "Temperatures are within the usual range — no records expected.", + "background_updates_not_working": "Background updates not working?", + "background_updates_not_working_sub": "Some device vendors restrict apps in the background. Check dontkillmyapp.com for steps to fix this." } diff --git a/lib/models/insights_gen.dart b/lib/models/insights_gen.dart index f1e663762..2e5386462 100644 --- a/lib/models/insights_gen.dart +++ b/lib/models/insights_gen.dart @@ -517,7 +517,7 @@ class _ShowInsightsState extends State { borderRadius: BorderRadius.circular(20), color: Color(widget.selectedContainerBgIndex), child: Container( - padding: EdgeInsets.only(top: 15, bottom: 10 + 8), + padding: EdgeInsets.only(top: 15, bottom: 10 + 5), child: Column( crossAxisAlignment: CrossAxisAlignment.start, children: [ @@ -544,7 +544,7 @@ class _ShowInsightsState extends State { fontWeight: FontWeight.w600)), ]), Divider( - height: 14, + height: 10, color: Colors.transparent, ), Padding( diff --git a/lib/screens/background_updates.dart b/lib/screens/background_updates.dart index 4a01ffb90..09cbdfede 100644 --- a/lib/screens/background_updates.dart +++ b/lib/screens/background_updates.dart @@ -7,6 +7,7 @@ import '../services/notificationservice_native.dart'; import '../services/widget_service.dart'; import 'package:flutter/services.dart'; import '../screens/worker_log_page.dart'; +import '../utils/open_links.dart'; class BackgroundUpdatesPage extends StatefulWidget { const BackgroundUpdatesPage({super.key}); @@ -158,6 +159,14 @@ class _BackgroundUpdatesPageState extends State { 'showNewVerNotification', value); setState(() {}); }), + SettingActionTile( + title: Text("Background updates not working?"), + description: Text( + "Some device vendors restrict apps in the background. Check dontkillmyapp.com for steps to fix this."), + onTap: () { + openLink('https://dontkillmyapp.com/'); + }, + ), SettingActionTile( title: Text( 'scheduled_updates'.tr(),