Fix a number of lint issues (#2)
* Fix systemUiVisibility deprecation warnings This commit extracts setSystemUiVisibility as an extension and uses the new API depending on the Build.VERSION * Fix splash fragment vector issues Clip-path isn't available before V24 and width/height should not exceed 200 dp. * Remove unused disclaimer fragment header * Remove unused ic_launcher_round * Ignore IconMissingDensityFolder lint Ignoring it because all the images are vector * Ignore UnusedAttribute lint It warns about networkSecurityConfig which is used only in debug builds to allow user SSL certificates. Lint says it's not available before v24. But it doesn't matter since before v24 the user SSL certificates were allowed by default. * Use plurals for disclaimer count down
This commit is contained in:
7
app/src/main/res/values/plurals.xml
Normal file
7
app/src/main/res/values/plurals.xml
Normal file
@@ -0,0 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<plurals name="fragment_disclaimer_button_okay_timer">
|
||||
<item quantity="one">Okay (%d second)</item>
|
||||
<item quantity="other">Okay (%d seconds)</item>
|
||||
</plurals>
|
||||
</resources>
|
||||
@@ -11,9 +11,7 @@
|
||||
<string name="content_description_fragment_recipe_info_image" translatable="false">@string/content_description_view_holder_recipe_image</string>
|
||||
<string name="fragment_recipe_info_ingredients_header">Ingredients</string>
|
||||
<string name="fragment_recipe_info_instructions_header">Instructions</string>
|
||||
<string name="fragment_disclaimer_button_okay_timer">Okay (%d seconds)</string>
|
||||
<string name="fragment_disclaimer_main_text">This project is developed independently from the core Mealie project. It is NOT associated with the core Mealie developers. Any issues must be reported to the Mealient repository, NOT the Mealie repository.</string>
|
||||
<string name="fragment_disclaimer_header">DISCLAIMER</string>
|
||||
<string name="fragment_disclaimer_button_okay">Okay</string>
|
||||
<string name="view_holder_recipe_instructions_step">Step: %d</string>
|
||||
<string name="fragment_authentication_email_input_empty">E-mail can\'t be empty</string>
|
||||
|
||||
Reference in New Issue
Block a user