Skip to content

Commit

Permalink
fix: update button being shown as clickable on launch (#932)
Browse files Browse the repository at this point in the history
  • Loading branch information
TheAabedKhan authored Jun 12, 2023
1 parent 185460c commit 20ffef3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/ui/views/home/home_viewmodel.dart
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,8 @@ class HomeViewModel extends BaseViewModel {

Future<bool> hasManagerUpdates() async {
String currentVersion = await _managerAPI.getCurrentManagerVersion();

_latestManagerVersion = await _managerAPI.getLatestManagerVersion();

// add v to current version
if (!currentVersion.startsWith('v')) {
currentVersion = 'v$currentVersion';
Expand Down

0 comments on commit 20ffef3

Please sign in to comment.