-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
Fix some IDE reported issues #17405
base: main
Are you sure you want to change the base?
Fix some IDE reported issues #17405
Conversation
1.HTML(Updated the obsolote align to text-align) 2.Changed the exit() to exitProcess() 3.Added String for the required Data
First PR! 🚀 We sincerely appreciate that you have taken the time to propose a change to AnkiDroid! Please have patience with us as we are all volunteers - we will get to this as soon as possible. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for contributing, I've left some issues below to fix.
Also you may want to read our git related wiki on how to contribute.
.codecov.yml
Outdated
@@ -13,7 +13,7 @@ coverage: | |||
default: | |||
# dropping slightly is ok - this stops the check failing on test timing variability | |||
# .12 was observed as the largest variability owing to timing forcing different test branch choice | |||
threshold: 0.15 | |||
threshold: "0.15" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a not an issue and should be reverted.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Okay Sir
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please don't mark review requests as resolved if you didn't resolved them. So again, please revert this change.
README.md
Outdated
@@ -41,15 +41,15 @@ Install | |||
<div style="display:flex;"> | |||
|
|||
<a href="https://play.google.com/store/apps/details?id=com.ichi2.anki&utm_source=global_co&utm_medium=prtnr&utm_content=Mar2515&utm_campaign=PartBadge&pcampaignid=MKT-Other-global-all-co-prtnr-py-PartBadge-Mar2515-1"> | |||
<img alt="Get it on Google Play" height="80" | |||
<img alt="Get it on Google Play" height="250" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Although the 80 value raises an issue, using other values makes those images too big. Instead of changing the value these issues should be suppressed: right click -> Show context actions -> Click the three dots beside "Set height value to 250" -> Suppress for tag
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Still active, this also needs to be done for the other two values in this file.
@@ -1,5 +1,5 @@ | |||
<p align="center"> | |||
<img alt="" src="docs/graphics/logos/banner_readme.png"/> | |||
<p style="text-align: center;"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove the obsolete align attribute. Also revert the spacing change on the inner img tag.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Request above still active.
} | ||
|
||
val ciBuild by extra(System.getenv("CI") == "true") // works for Travis CI or Github Actions | ||
// allows for -Dpre-dex=false to be set | ||
// allows for -Dare-dex=false to be set |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Revert this, it changes the meaning of the comment.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Okay Sir
.codecov.yml
Outdated
@@ -13,7 +13,7 @@ coverage: | |||
default: | |||
# dropping slightly is ok - this stops the check failing on test timing variability | |||
# .12 was observed as the largest variability owing to timing forcing different test branch choice | |||
threshold: 0.15 | |||
threshold: "0.15" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please don't mark review requests as resolved if you didn't resolved them. So again, please revert this change.
@@ -1,5 +1,5 @@ | |||
<p align="center"> | |||
<img alt="" src="docs/graphics/logos/banner_readme.png"/> | |||
<p style="text-align: center;"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Request above still active.
README.md
Outdated
@@ -41,15 +41,15 @@ Install | |||
<div style="display:flex;"> | |||
|
|||
<a href="https://play.google.com/store/apps/details?id=com.ichi2.anki&utm_source=global_co&utm_medium=prtnr&utm_content=Mar2515&utm_campaign=PartBadge&pcampaignid=MKT-Other-global-all-co-prtnr-py-PartBadge-Mar2515-1"> | |||
<img alt="Get it on Google Play" height="80" | |||
<img alt="Get it on Google Play" height="250" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Still active, this also needs to be done for the other two values in this file.
build.gradle.kts
Outdated
|
||
// Top-level build file where you can add configuration options common to all sub-projects/modules. | ||
// Top-level Build file where you can add configuration options common to all sub-projects/modules. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This change is not needed.
Purpose / Description
To Fix Android Studio Warnings and make the experience smoother and bug free.
Fixes
Approach
Looking for the Warning each one by one and solving them
How Has This Been Tested?
All the Warning were removed
Checklist
Please, go through these checks before submitting the PR.