mirror of
https://github.com/ArcaneChat/android.git
synced 2026-07-03 14:05:24 +02:00
show exact progess on receiver side
while both devices show a progess bar, the exact percentage is shown on receiver side only. beside the receiver progress being more accurate, main reason is not not confuse users by the devices showing slightly different percentages.
This commit is contained in:
@@ -152,7 +152,7 @@ public class BackupProviderFragment extends Fragment implements DcEventCenter.Dc
|
||||
} else if (permille < 1000) {
|
||||
percent = (permille-450)/5;
|
||||
percentMax = 100;
|
||||
statusLineText = getString(R.string.transferring) + String.format(Locale.getDefault(), " %d%%", percent);
|
||||
statusLineText = getString(R.string.transferring);
|
||||
hideQrCode = true;
|
||||
} else if (permille == 1000) {
|
||||
statusLineText = getString(R.string.done) + " \uD83D\uDE00";
|
||||
|
||||
Reference in New Issue
Block a user