Skip to content

Commit

Permalink
fix: stuck at "searching for new versions"
Browse files Browse the repository at this point in the history
  • Loading branch information
prateekmedia committed Mar 23, 2024
1 parent b024537 commit 8d6efcf
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
4 changes: 2 additions & 2 deletions lib/ui/screens/home_page/tabs/settings_tab.dart
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@ class _SettingsScreenState extends ConsumerState<SettingsTab>
).then(
(dynamic value) => setState(
() {
final json = value as List<Map<String, String>>;
version = json.first['tag_name']!;
final json = value as List;
version = json.first['tag_name']! as String;
},
),
);
Expand Down
4 changes: 2 additions & 2 deletions pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -813,10 +813,10 @@ packages:
dependency: "direct main"
description:
name: package_info_plus
sha256: "7e76fad405b3e4016cd39d08f455a4eb5199723cf594cd1b8916d47140d93017"
sha256: cb44f49b6e690fa766f023d5b22cac6b9affe741dd792b6ac7ad4fabe0d7b097
url: "https://pub.dev"
source: hosted
version: "4.2.0"
version: "6.0.0"
package_info_plus_platform_interface:
dependency: transitive
description:
Expand Down
3 changes: 2 additions & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ dependencies:
media_kit_video: ^1.2.4
miniplayer: ^1.0.1
open_filex: ^4.3.0
package_info_plus: ^4.0.2
package_info_plus: ^6.0.0
page_transition: ^2.0.5
parsed_readmore: ^0.0.6
path: ^1.8.0
Expand Down Expand Up @@ -81,6 +81,7 @@ dependency_overrides:
# git:
# url: https://github.com/prateekmedia/window_manager
# ref: patch-1
package_info_plus: ^6.0.0
wakelock: ^0.6.2
wakelock_windows: ^0.2.1
win32: ^4.0.0
Expand Down

0 comments on commit 8d6efcf

Please sign in to comment.