Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

do not expect special value for backup transfer progress #2310

Merged
merged 1 commit into from
Oct 9, 2024

Conversation

r10s
Copy link
Member

@r10s r10s commented Oct 5, 2024

'backup' and 'add second device' do not longer have special values but use the whole range smoothly

counterpart of deltachat/deltachat-android#3333

} else if permille <= 950 {
let percent = ((permille-100)*100)/850
if permille < 1000 {
let percent: Int = permille/10
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

here, permille 0 and 1000 are handled by special booleans 'done' and 'error' above; that could get some streamlining as well, but i wanted to keep this PR on point

@r10s r10s merged commit 41d1ebe into main Oct 9, 2024
1 check passed
@r10s r10s deleted the r10s/smooth-progress branch October 9, 2024 11:02
@zeitschlag zeitschlag removed their request for review October 9, 2024 11:05
@zeitschlag zeitschlag added this to the 1.46.11 milestone Oct 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants