Anki-Android icon indicating copy to clipboard operation
Anki-Android copied to clipboard

ProgressDialog extra space due to empty title [Bug]

Open imaryandokania opened this issue 5 years ago • 2 comments

Reproduction Steps
  1. The path to error is com/ichi2/anki/MyAccount.java
  2. Progress dialog initialisation inside onPreExecute()
Expected Result(after correction)
Screenshot 2021-03-14 at 9 08 33 AM
Actual Result
Screenshot 2021-03-14 at 9 09 53 AM
Debug info
Screenshot 2021-03-14 at 9 11 59 AM

here the code should be:

the error is with keeping title as "" , I have fixed this issue , I will create pr if you want

Research

Enter an [x] character to confirm the points below:

  • [x] I have read the support page and am reporting a bug or enhancement request specific to AnkiDroid
  • [x] I have checked the manual and the FAQ and could not find a solution to my issue
  • [x] I have searched for similar existing issues here and on the user forum
  • [x] (Optional) I have confirmed the issue is not resolved in the latest alpha release (instructions)

imaryandokania avatar Mar 14 '21 03:03 imaryandokania

Looks good to me! Let's get this fixed.

david-allison avatar Mar 14 '21 04:03 david-allison

Looks good to me! Let's get this fixed.

I have committed and also create PR . Hope it gets merged

imaryandokania avatar Mar 14 '21 05:03 imaryandokania