Skip to content

Commit

Permalink
Fix progress bar android
Browse files Browse the repository at this point in the history
  • Loading branch information
vshcherb committed Jan 15, 2025
1 parent 1134533 commit 5cbf983
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion OsmAnd/res/values/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1058,7 +1058,7 @@ You need to activate the sensor so OsmAnd can find it.</string>
</string>
<string name="set_up_backup">Set up backup</string>
<string name="choose_what_to_sync">Choose what to sync</string>
<string name="cloud_sync_progress">Sync…%1$s</string>
<string name="cloud_sync_progress">Sync… %1$s</string>
<string name="checking_progress">Checking…</string>
<string name="shared_string_modified">Modified</string>
<string name="res_unknown">Unknown</string>
Expand Down
2 changes: 1 addition & 1 deletion OsmAnd/src/net/osmand/plus/backup/ImportBackupTask.java
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ public static int calculateMaxProgress(@NonNull OsmandApplication app) {
BackupHelper backupHelper = app.getBackupHelper();
BackupInfo info = backupHelper.getBackup().getBackupInfo();
if (info != null) {
for (RemoteFile file : info.filesToDownload) {
for (RemoteFile file : info.filteredFilesToDownload) {
maxProgress += backupHelper.calculateFileSize(file);
}
}
Expand Down

0 comments on commit 5cbf983

Please sign in to comment.