mirror of
https://github.com/PranshulGG/WeatherMaster.git
synced 2026-10-22 02:52:37 -05:00
updated 2.5.0
This commit is contained in:
1 parent
25a718cb2e
commit
561cb767eb
2 files changed
+3
-3
No files matched your search
@@ -108,7 +108,7 @@ class AboutPage extends StatelessWidget {
|
||||
showLicensePage(
|
||||
context: context,
|
||||
applicationName: 'WeatherMaster',
|
||||
applicationVersion: 'v2.4.0 (F)',
|
||||
applicationVersion: 'v2.5.0 (F)',
|
||||
applicationIcon: Container(
|
||||
clipBehavior: Clip.hardEdge,
|
||||
margin: EdgeInsets.only(bottom: 16, top: 16),
|
||||
@@ -353,7 +353,7 @@ class CheckUpdateButton extends StatefulWidget {
|
||||
}
|
||||
|
||||
class _CheckUpdateButtonState extends State<CheckUpdateButton> {
|
||||
final String currentVersion = 'v2.4.0';
|
||||
final String currentVersion = 'v2.5.0';
|
||||
final String githubRepo = 'PranshulGG/WeatherMaster';
|
||||
bool isChecking = false;
|
||||
|
||||
|
||||
@@ -261,7 +261,7 @@ class _WeatherHomeState extends State<WeatherHome> {
|
||||
final lastUpdateTime = DateTime.tryParse(lastUpdated);
|
||||
final now = DateTime.now();
|
||||
if (lastUpdateTime != null &&
|
||||
now.difference(lastUpdateTime).inMinutes < 450) {
|
||||
now.difference(lastUpdateTime).inMinutes < 45) {
|
||||
_isAppFullyLoaded = true;
|
||||
} else {
|
||||
checkAndUpdateHomeLocation();
|
||||
|
||||
Reference in new issue
Block a user