vbhelper/app/lint-baseline.xml
2026-06-24 21:28:22 +00:00

1827 lines
76 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<issues format="6" by="lint 8.13.2" type="baseline" client="gradle" dependencies="false" name="AGP (8.13.2)" variant="all" version="8.13.2">
<issue
id="DefaultLocale"
message="Implicitly using the default locale is a common source of bugs: Use `String.format(Locale, ...)` instead"
errorLine1=" val bgmFileName = String.format(&quot;bgm_%03d.wav&quot;, bgmNumber)"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/com/github/nacabaro/vbhelper/screens/BattlesScreen.kt"
line="261"
column="35"/>
</issue>
<issue
id="DefaultLocale"
message="Implicitly using the default locale is a common source of bugs: Use `String.format(Locale, ...)` instead"
errorLine1=" val formattedCardId = String.format(&quot;dim%03d_mon%02d&quot;, cardId, charaIndex + 1)"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/com/github/nacabaro/vbhelper/screens/BattlesScreen.kt"
line="2133"
column="43"/>
</issue>
<issue
id="DefaultLocale"
message="Implicitly using the default locale is a common source of bugs: Use `String.format(Locale, ...)` instead"
errorLine1=" val spriteFileName = &quot;${characterId}_${String.format(&quot;%02d&quot;, frameNumber)}.png&quot;"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/com/github/nacabaro/vbhelper/battle/IndividualSpriteManager.kt"
line="41"
column="52"/>
</issue>
<issue
id="OldTargetApi"
message="Not targeting the latest versions of Android; compatibility modes apply. Consider testing and updating this version. Consult the `android.os.Build.VERSION_CODES` javadoc for details."
errorLine1=" targetSdk = 36"
errorLine2=" ~~~~~~~~~~~~~~">
<location
file="build.gradle.kts"
line="18"
column="9"/>
</issue>
<issue
id="AppLinkWarning"
message="This intent filter has the format of an Android App Link but is missing the `autoVerify` attribute; add `android:autoVerify=&quot;true&quot;` to ensure your domain will be validated and enable App Link-related Lint warnings. If you do not want clicked URLs to bring the user to your app, remove the `android.intent.category.BROWSABLE` category, or set `android:autoVerify=&quot;false&quot;` to make it clear this is not intended to be an Android App Link."
errorLine1=" &lt;intent-filter>"
errorLine2=" ~~~~~~~~~~~~~">
<location
file="src/main/AndroidManifest.xml"
line="41"
column="14"/>
</issue>
<issue
id="IntentFilterUniqueDataAttributes"
message="Consider splitting data tag into multiple tags with individual attributes to avoid confusion"
errorLine1=" &lt;data android:scheme=&quot;http&quot; android:host=&quot;localhost&quot; android:port=&quot;8080&quot; android:pathPrefix=&quot;/authenticate&quot; />"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/AndroidManifest.xml"
line="45"
column="17"/>
</issue>
<issue
id="IntentFilterUniqueDataAttributes"
message="Consider splitting data tag into multiple tags with individual attributes to avoid confusion"
errorLine1=" &lt;data android:scheme=&quot;http&quot; android:host=&quot;127.0.0.1&quot; android:port=&quot;8080&quot; android:pathPrefix=&quot;/authenticate&quot; />"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/AndroidManifest.xml"
line="46"
column="17"/>
</issue>
<issue
id="RedundantLabel"
message="Redundant label can be removed"
errorLine1=" android:label=&quot;@string/app_name&quot;"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/AndroidManifest.xml"
line="28"
column="13"/>
</issue>
<issue
id="AndroidGradlePluginVersion"
message="A newer version of Gradle than 8.14.3 is available: 8.14.5"
errorLine1="distributionUrl=https\://services.gradle.org/distributions/gradle-8.14.3-bin.zip"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="$HOME/VBHelper/vbhelper/gradle/wrapper/gradle-wrapper.properties"
line="4"
column="17"/>
</issue>
<issue
id="AndroidGradlePluginVersion"
message="A newer version of com.android.application than 8.13.2 is available: 9.2.1"
errorLine1="agp = &quot;8.13.2&quot;"
errorLine2=" ~~~~~~~~">
<location
file="$HOME/VBHelper/vbhelper/gradle/libs.versions.toml"
line="2"
column="7"/>
</issue>
<issue
id="GradleDependency"
message="A newer version of com.google.devtools.ksp than 2.3.0 is available: 2.3.2"
errorLine1=" id(&quot;com.google.devtools.ksp&quot;) version &quot;2.3.0&quot;"
errorLine2=" ~~~~~~~">
<location
file="build.gradle.kts"
line="7"
column="43"/>
</issue>
<issue
id="GradleDependency"
message="A newer version of androidx.navigation:navigation-compose than 2.7.0 is available: 2.9.8"
errorLine1=" implementation(&quot;androidx.navigation:navigation-compose:2.7.0&quot;)"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="build.gradle.kts"
line="109"
column="20"/>
</issue>
<issue
id="GradleDependency"
message="A newer version of com.google.android.material:material than 1.2.0 is available: 1.14.0"
errorLine1=" implementation(&quot;com.google.android.material:material:1.2.0&quot;)"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="build.gradle.kts"
line="110"
column="20"/>
</issue>
<issue
id="GradleDependency"
message="A newer version of androidx.datastore:datastore-preferences than 1.1.7 is available: 1.2.1"
errorLine1=" implementation(&quot;androidx.datastore:datastore-preferences:1.1.7&quot;)"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="build.gradle.kts"
line="113"
column="20"/>
</issue>
<issue
id="GradleDependency"
message="A newer version of androidx.datastore:datastore than 1.2.0 is available: 1.2.1"
errorLine1="datastore = &quot;1.2.0&quot;"
errorLine2=" ~~~~~~~">
<location
file="$HOME/VBHelper/vbhelper/gradle/libs.versions.toml"
line="3"
column="13"/>
</issue>
<issue
id="GradleDependency"
message="A newer version of androidx.datastore:datastore-preferences than 1.2.0 is available: 1.2.1"
errorLine1="datastorePreferences = &quot;1.2.0&quot;"
errorLine2=" ~~~~~~~">
<location
file="$HOME/VBHelper/vbhelper/gradle/libs.versions.toml"
line="4"
column="24"/>
</issue>
<issue
id="GradleDependency"
message="A newer version of androidx.core:core-ktx than 1.17.0 is available: 1.19.0"
errorLine1="coreKtx = &quot;1.17.0&quot;"
errorLine2=" ~~~~~~~~">
<location
file="$HOME/VBHelper/vbhelper/gradle/libs.versions.toml"
line="6"
column="11"/>
</issue>
<issue
id="GradleDependency"
message="A newer version of androidx.lifecycle:lifecycle-runtime-ktx than 2.10.0 is available: 2.11.0"
errorLine1="lifecycleRuntimeKtx = &quot;2.10.0&quot;"
errorLine2=" ~~~~~~~~">
<location
file="$HOME/VBHelper/vbhelper/gradle/libs.versions.toml"
line="10"
column="23"/>
</issue>
<issue
id="GradleDependency"
message="A newer version of androidx.activity:activity-compose than 1.12.2 is available: 1.13.0"
errorLine1="activityCompose = &quot;1.12.2&quot;"
errorLine2=" ~~~~~~~~">
<location
file="$HOME/VBHelper/vbhelper/gradle/libs.versions.toml"
line="11"
column="19"/>
</issue>
<issue
id="GradleDependency"
message="A newer version of androidx.compose:compose-bom than 2026.01.00 is available: 2026.06.00"
errorLine1="composeBom = &quot;2026.01.00&quot;"
errorLine2=" ~~~~~~~~~~~~">
<location
file="$HOME/VBHelper/vbhelper/gradle/libs.versions.toml"
line="12"
column="14"/>
</issue>
<issue
id="GradleDependency"
message="A newer version of com.google.android.material:material than 1.13.0 is available: 1.14.0"
errorLine1="material = &quot;1.13.0&quot;"
errorLine2=" ~~~~~~~~">
<location
file="$HOME/VBHelper/vbhelper/gradle/libs.versions.toml"
line="13"
column="12"/>
</issue>
<issue
id="GradleDependency"
message="A newer version of androidx.navigation:navigation-compose than 2.9.6 is available: 2.9.8"
errorLine1="navigationCompose = &quot;2.9.6&quot;"
errorLine2=" ~~~~~~~">
<location
file="$HOME/VBHelper/vbhelper/gradle/libs.versions.toml"
line="14"
column="21"/>
</issue>
<issue
id="NewerVersionAvailable"
message="A newer version of com.squareup.retrofit2:retrofit than 2.9.0 is available: 3.0.0"
errorLine1=" implementation(&quot;com.squareup.retrofit2:retrofit:2.9.0&quot;)"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="build.gradle.kts"
line="115"
column="20"/>
</issue>
<issue
id="NewerVersionAvailable"
message="A newer version of com.squareup.retrofit2:converter-gson than 2.9.0 is available: 3.0.0"
errorLine1=" implementation(&quot;com.squareup.retrofit2:converter-gson:2.9.0&quot;)"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="build.gradle.kts"
line="116"
column="20"/>
</issue>
<issue
id="NewerVersionAvailable"
message="A newer version of com.google.code.gson:gson than 2.10.1 is available: 2.14.0"
errorLine1=" implementation(&quot;com.google.code.gson:gson:2.10.1&quot;)"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="build.gradle.kts"
line="117"
column="20"/>
</issue>
<issue
id="NewerVersionAvailable"
message="A newer version of com.squareup.okhttp3:logging-interceptor than 4.11.0 is available: 5.4.0"
errorLine1=" implementation(&quot;com.squareup.okhttp3:logging-interceptor:4.11.0&quot;)"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="build.gradle.kts"
line="120"
column="20"/>
</issue>
<issue
id="NewerVersionAvailable"
message="A newer version of org.jetbrains.kotlin.android than 2.3.0 is available: 2.4.0"
errorLine1="kotlin = &quot;2.3.0&quot;"
errorLine2=" ~~~~~~~">
<location
file="$HOME/VBHelper/vbhelper/gradle/libs.versions.toml"
line="5"
column="10"/>
</issue>
<issue
id="NewerVersionAvailable"
message="A newer version of org.jetbrains.kotlin.plugin.compose than 2.3.0 is available: 2.4.0"
errorLine1="kotlin = &quot;2.3.0&quot;"
errorLine2=" ~~~~~~~">
<location
file="$HOME/VBHelper/vbhelper/gradle/libs.versions.toml"
line="5"
column="10"/>
</issue>
<issue
id="NewerVersionAvailable"
message="A newer version of com.google.protobuf:protobuf-gradle-plugin than 0.9.6 is available: 0.10.0"
errorLine1="protobufGradlePlugin = &quot;0.9.6&quot;"
errorLine2=" ~~~~~~~">
<location
file="$HOME/VBHelper/vbhelper/gradle/libs.versions.toml"
line="15"
column="24"/>
</issue>
<issue
id="NewerVersionAvailable"
message="A newer version of com.google.protobuf:protobuf-javalite than 4.33.4 is available: 4.35.1"
errorLine1="protobufJavalite = &quot;4.33.4&quot;"
errorLine2=" ~~~~~~~~">
<location
file="$HOME/VBHelper/vbhelper/gradle/libs.versions.toml"
line="16"
column="20"/>
</issue>
<issue
id="ConfigurationScreenWidthHeight"
message="Using Configuration.screenHeightDp instead of LocalWindowInfo.current.containerSize"
errorLine1=" return configuration.screenWidthDp > configuration.screenHeightDp"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/com/github/nacabaro/vbhelper/screens/BattlesScreen.kt"
line="105"
column="42"/>
</issue>
<issue
id="ConfigurationScreenWidthHeight"
message="Using Configuration.screenWidthDp instead of LocalWindowInfo.current.containerSize"
errorLine1=" return configuration.screenWidthDp > configuration.screenHeightDp"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/com/github/nacabaro/vbhelper/screens/BattlesScreen.kt"
line="105"
column="12"/>
</issue>
<issue
id="ConfigurationScreenWidthHeight"
message="Using Configuration.screenHeightDp instead of LocalWindowInfo.current.containerSize"
errorLine1=" val isLandscape = configuration.screenWidthDp > configuration.screenHeightDp"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/com/github/nacabaro/vbhelper/screens/BattlesScreen.kt"
line="111"
column="53"/>
</issue>
<issue
id="ConfigurationScreenWidthHeight"
message="Using Configuration.screenWidthDp instead of LocalWindowInfo.current.containerSize"
errorLine1=" val isLandscape = configuration.screenWidthDp > configuration.screenHeightDp"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/com/github/nacabaro/vbhelper/screens/BattlesScreen.kt"
line="111"
column="23"/>
</issue>
<issue
id="ConfigurationScreenWidthHeight"
message="Using Configuration.screenHeightDp instead of LocalWindowInfo.current.containerSize"
errorLine1=" val isLandscape = configuration.screenWidthDp > configuration.screenHeightDp"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/com/github/nacabaro/vbhelper/screens/BattlesScreen.kt"
line="122"
column="53"/>
</issue>
<issue
id="ConfigurationScreenWidthHeight"
message="Using Configuration.screenWidthDp instead of LocalWindowInfo.current.containerSize"
errorLine1=" val isLandscape = configuration.screenWidthDp > configuration.screenHeightDp"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/com/github/nacabaro/vbhelper/screens/BattlesScreen.kt"
line="122"
column="23"/>
</issue>
<issue
id="ConfigurationScreenWidthHeight"
message="Using Configuration.screenHeightDp instead of LocalWindowInfo.current.containerSize"
errorLine1=" val isLandscape = configuration.screenWidthDp > configuration.screenHeightDp"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/com/github/nacabaro/vbhelper/screens/BattlesScreen.kt"
line="129"
column="53"/>
</issue>
<issue
id="ConfigurationScreenWidthHeight"
message="Using Configuration.screenWidthDp instead of LocalWindowInfo.current.containerSize"
errorLine1=" val isLandscape = configuration.screenWidthDp > configuration.screenHeightDp"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/com/github/nacabaro/vbhelper/screens/BattlesScreen.kt"
line="129"
column="23"/>
</issue>
<issue
id="ConfigurationScreenWidthHeight"
message="Using Configuration.screenHeightDp instead of LocalWindowInfo.current.containerSize"
errorLine1=" val isLandscape = configuration.screenWidthDp > configuration.screenHeightDp"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/com/github/nacabaro/vbhelper/screens/BattlesScreen.kt"
line="136"
column="53"/>
</issue>
<issue
id="ConfigurationScreenWidthHeight"
message="Using Configuration.screenWidthDp instead of LocalWindowInfo.current.containerSize"
errorLine1=" val isLandscape = configuration.screenWidthDp > configuration.screenHeightDp"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/com/github/nacabaro/vbhelper/screens/BattlesScreen.kt"
line="136"
column="23"/>
</issue>
<issue
id="ConfigurationScreenWidthHeight"
message="Using Configuration.screenHeightDp instead of LocalWindowInfo.current.containerSize"
errorLine1=" val isLandscape = configuration.screenWidthDp > configuration.screenHeightDp"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/com/github/nacabaro/vbhelper/screens/BattlesScreen.kt"
line="143"
column="53"/>
</issue>
<issue
id="ConfigurationScreenWidthHeight"
message="Using Configuration.screenWidthDp instead of LocalWindowInfo.current.containerSize"
errorLine1=" val isLandscape = configuration.screenWidthDp > configuration.screenHeightDp"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/com/github/nacabaro/vbhelper/screens/BattlesScreen.kt"
line="143"
column="23"/>
</issue>
<issue
id="ConfigurationScreenWidthHeight"
message="Using Configuration.screenWidthDp instead of LocalWindowInfo.current.containerSize"
errorLine1=" screenWidth = with(density) { configuration.screenWidthDp.dp }"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/com/github/nacabaro/vbhelper/screens/BattlesScreen.kt"
line="2819"
column="39"/>
</issue>
<issue
id="ConfigurationScreenWidthHeight"
message="Using Configuration.screenHeightDp instead of LocalWindowInfo.current.containerSize"
errorLine1=" screenHeight = with(density) { configuration.screenHeightDp.dp }"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/com/github/nacabaro/vbhelper/screens/BattlesScreen.kt"
line="2820"
column="40"/>
</issue>
<issue
id="ConfigurationScreenWidthHeight"
message="Using Configuration.screenWidthDp instead of LocalWindowInfo.current.containerSize"
errorLine1=" screenWidth = with(density) { configuration.screenWidthDp.dp }"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/com/github/nacabaro/vbhelper/screens/BattlesScreen.kt"
line="2923"
column="39"/>
</issue>
<issue
id="ConfigurationScreenWidthHeight"
message="Using Configuration.screenHeightDp instead of LocalWindowInfo.current.containerSize"
errorLine1=" screenHeight = with(density) { configuration.screenHeightDp.dp }"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/com/github/nacabaro/vbhelper/screens/BattlesScreen.kt"
line="2924"
column="40"/>
</issue>
<issue
id="LocalContextGetResourceValueCall"
message="Querying resource values using LocalContext.current"
errorLine1=" Toast.makeText(context, context.getString(R.string.scan_secrets_not_initialized), Toast.LENGTH_SHORT).show()"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/com/github/nacabaro/vbhelper/screens/scanScreen/ScanScreen.kt"
line="97"
column="53"/>
</issue>
<issue
id="LocalContextGetResourceValueCall"
message="Querying resource values using LocalContext.current"
errorLine1=" Toast.makeText(context, context.getString(R.string.scan_secrets_not_imported), Toast.LENGTH_SHORT).show()"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/com/github/nacabaro/vbhelper/screens/scanScreen/ScanScreen.kt"
line="99"
column="53"/>
</issue>
<issue
id="LocalContextGetResourceValueCall"
message="Querying resource values using LocalContext.current"
errorLine1=" Toast.makeText(context, context.getString(R.string.scan_secrets_not_initialized), Toast.LENGTH_SHORT).show()"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/com/github/nacabaro/vbhelper/screens/scanScreen/ScanScreen.kt"
line="111"
column="55"/>
</issue>
<issue
id="LocalContextGetResourceValueCall"
message="Querying resource values using LocalContext.current"
errorLine1=" Toast.makeText(context, context.getString(R.string.scan_secrets_not_imported), Toast.LENGTH_SHORT).show()"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/com/github/nacabaro/vbhelper/screens/scanScreen/ScanScreen.kt"
line="113"
column="53"/>
</issue>
<issue
id="LocalContextResourcesRead"
message="Reading Resources using LocalContext.current.resources"
errorLine1=" val density: Float = LocalContext.current.resources.displayMetrics.density"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/com/github/nacabaro/vbhelper/screens/adventureScreen/AdventureEntry.kt"
line="31"
column="26"/>
</issue>
<issue
id="LocalContextResourcesRead"
message="Reading Resources using LocalContext.current.resources"
errorLine1=" val density: Float = LocalContext.current.resources.displayMetrics.density"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/com/github/nacabaro/vbhelper/screens/adventureScreen/CancelAdventureDialog.kt"
line="31"
column="26"/>
</issue>
<issue
id="LocalContextResourcesRead"
message="Reading Resources using LocalContext.current.resources"
errorLine1=" val density: Float = LocalContext.current.resources.displayMetrics.density"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/com/github/nacabaro/vbhelper/screens/cardScreen/CardEntry.kt"
line="45"
column="26"/>
</issue>
<issue
id="LocalContextResourcesRead"
message="Reading Resources using LocalContext.current.resources"
errorLine1=" val density: Float = LocalContext.current.resources.displayMetrics.density"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/com/github/nacabaro/vbhelper/components/CharacterEntry.kt"
line="61"
column="26"/>
</issue>
<issue
id="LocalContextResourcesRead"
message="Reading Resources using LocalContext.current.resources"
errorLine1=" val density: Float = LocalContext.current.resources.displayMetrics.density"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/com/github/nacabaro/vbhelper/screens/scanScreen/cardSelect/ScanCardEntry.kt"
line="32"
column="26"/>
</issue>
<issue
id="LocalContextResourcesRead"
message="Reading Resources using LocalContext.current.resources"
errorLine1=" val density: Float = LocalContext.current.resources.displayMetrics.density"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/com/github/nacabaro/vbhelper/screens/storageScreen/StorageDialog.kt"
line="96"
column="46"/>
</issue>
<issue
id="LocalContextResourcesRead"
message="Reading Resources using LocalContext.current.resources"
errorLine1=" val density: Float = LocalContext.current.resources.displayMetrics.density"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/com/github/nacabaro/vbhelper/components/TransformationHistoryCard.kt"
line="56"
column="26"/>
</issue>
<issue
id="ModifierFactoryExtensionFunction"
message="Modifier factory functions should be extensions on Modifier"
errorLine1="fun getLandscapeModifier(): Modifier {"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/com/github/nacabaro/vbhelper/screens/BattlesScreen.kt"
line="109"
column="5"/>
</issue>
<issue
id="ModifierFactoryExtensionFunction"
message="Modifier factory functions should be extensions on Modifier"
errorLine1="fun getLandscapeBoxModifier(): Modifier {"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/com/github/nacabaro/vbhelper/screens/BattlesScreen.kt"
line="141"
column="5"/>
</issue>
<issue
id="ModifierParameter"
message="Modifier parameter should be the first optional parameter"
errorLine1=" modifier: Modifier = Modifier,"
errorLine2=" ~~~~~~~~">
<location
file="src/main/java/com/github/nacabaro/vbhelper/battle/AnimatedSpriteImage.kt"
line="16"
column="5"/>
</issue>
<issue
id="ModifierParameter"
message="Modifier parameter should be the first optional parameter"
errorLine1=" modifier: Modifier = Modifier,"
errorLine2=" ~~~~~~~~">
<location
file="src/main/java/com/github/nacabaro/vbhelper/components/AttackSpriteImage.kt"
line="19"
column="5"/>
</issue>
<issue
id="MutableCollectionMutableState"
message="Creating a MutableState object with a mutable collection type"
errorLine1=" var opponentsList by remember { mutableStateOf(ArrayList&lt;APIBattleCharacter>()) }"
errorLine2=" ~~~~~~~~~~~~~~">
<location
file="src/main/java/com/github/nacabaro/vbhelper/screens/BattlesScreen.kt"
line="1645"
column="37"/>
</issue>
<issue
id="MissingTranslation"
message="&quot;home_special_mission_delete_main&quot; is not translated in &quot;pt&quot; (Portuguese)"
errorLine1=" &lt;string name=&quot;home_special_mission_delete_main&quot;>Are you sure you want to delete this special mission with this progress?&lt;/string>"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/res/values/strings.xml"
line="215"
column="13"/>
</issue>
<issue
id="MissingTranslation"
message="&quot;home_special_mission_delete_dismiss&quot; is not translated in &quot;pt&quot; (Portuguese)"
errorLine1=" &lt;string name=&quot;home_special_mission_delete_dismiss&quot;>Dismiss&lt;/string>"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/res/values/strings.xml"
line="216"
column="13"/>
</issue>
<issue
id="MissingTranslation"
message="&quot;home_special_mission_delete_remove&quot; is not translated in &quot;pt&quot; (Portuguese)"
errorLine1=" &lt;string name=&quot;home_special_mission_delete_remove&quot;>Remove&lt;/string>"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/res/values/strings.xml"
line="217"
column="13"/>
</issue>
<issue
id="PluralsCandidate"
message="Formatting %d followed by words (&quot;credits&quot;): This should probably be a plural rather than a string"
errorLine1=" &lt;string name=&quot;items_store_credits&quot;>%1$d credits&lt;/string>"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/res/values/strings.xml"
line="141"
column="5"/>
</issue>
<issue
id="PluralsCandidate"
message="Formatting %d followed by words (&quot;credits&quot;): This should probably be a plural rather than a string"
errorLine1=" &lt;string name=&quot;obtained_item_you_also_got_credits&quot;>You also got %1$d credits&lt;/string>"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/res/values/strings.xml"
line="146"
column="5"/>
</issue>
<issue
id="PluralsCandidate"
message="Formatting %d followed by words (&quot;credits&quot;): This should probably be a plural rather than a string"
errorLine1=" &lt;string name=&quot;item_dialog_costs_credits&quot;>Costs %1$d credits&lt;/string>"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/res/values/strings.xml"
line="152"
column="5"/>
</issue>
<issue
id="PluralsCandidate"
message="Formatting %d followed by words (&quot;characters&quot;): This should probably be a plural rather than a string"
errorLine1=" &lt;string name=&quot;card_entry_characters_obtained&quot;>%1$d of %2$d characters obtained&lt;/string>"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/res/values/strings.xml"
line="182"
column="5"/>
</issue>
<issue
id="PluralsCandidate"
message="Formatting %d followed by words (&quot;steps&quot;): This should probably be a plural rather than a string"
errorLine1=" &lt;string name=&quot;special_mission_steps&quot;>Walk %1$d steps&lt;/string>"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/res/values/strings.xml"
line="206"
column="5"/>
</issue>
<issue
id="PluralsCandidate"
message="Formatting %d followed by words (&quot;times&quot;): This should probably be a plural rather than a string"
errorLine1=" &lt;string name=&quot;special_mission_battles&quot;>Battle %1$d times&lt;/string>"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/res/values/strings.xml"
line="207"
column="5"/>
</issue>
<issue
id="PluralsCandidate"
message="Formatting %d followed by words (&quot;battles&quot;): This should probably be a plural rather than a string"
errorLine1=" &lt;string name=&quot;special_mission_wins&quot;>Win %1$d battles&lt;/string>"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/res/values/strings.xml"
line="208"
column="5"/>
</issue>
<issue
id="PluralsCandidate"
message="Formatting %d followed by words (&quot;vitals&quot;): This should probably be a plural rather than a string"
errorLine1=" &lt;string name=&quot;special_mission_vitals&quot;>Earn %1$d vitals&lt;/string>"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/res/values/strings.xml"
line="209"
column="5"/>
</issue>
<issue
id="PluralsCandidate"
message="Formatting %d followed by words (&quot;steps&quot;): This should probably be a plural rather than a string"
errorLine1=" &lt;string name=&quot;special_mission_steps_progress&quot;>Walked %1$d steps&lt;/string>"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/res/values/strings.xml"
line="210"
column="5"/>
</issue>
<issue
id="PluralsCandidate"
message="Formatting %d followed by words (&quot;times&quot;): This should probably be a plural rather than a string"
errorLine1=" &lt;string name=&quot;special_mission_battles_progress&quot;>Battled %1$d times&lt;/string>"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/res/values/strings.xml"
line="211"
column="5"/>
</issue>
<issue
id="PluralsCandidate"
message="Formatting %d followed by words (&quot;battles&quot;): This should probably be a plural rather than a string"
errorLine1=" &lt;string name=&quot;special_mission_wins_progress&quot;>Won %1$d battles&lt;/string>"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/res/values/strings.xml"
line="212"
column="5"/>
</issue>
<issue
id="PluralsCandidate"
message="Formatting %d followed by words (&quot;vitals&quot;): This should probably be a plural rather than a string"
errorLine1=" &lt;string name=&quot;special_mission_vitals_progress&quot;>Earned %1$d vitals&lt;/string>"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/res/values/strings.xml"
line="213"
column="5"/>
</issue>
<issue
id="ObsoleteSdkInt"
message="This folder configuration (`v26`) is unnecessary; `minSdkVersion` is 28. Merge all the resources in this folder into `mipmap-anydpi`.">
<location
file="src/main/res/mipmap-anydpi-v26"/>
</issue>
<issue
id="UnnecessaryArrayInit"
message="This initialization lambda (`{0}`) is unnecessary and is less efficient"
errorLine1=" appReserved1 = ByteArray(12) {0},"
errorLine2=" ~~~">
<location
file="src/main/java/com/github/nacabaro/vbhelper/screens/scanScreen/converters/ToNfcConverter.kt"
line="84"
column="42"/>
</issue>
<issue
id="UnnecessaryArrayInit"
message="This initialization lambda (`{0}`) is unnecessary and is less efficient"
errorLine1=" appReserved1 = ByteArray(12) {0},"
errorLine2=" ~~~">
<location
file="src/main/java/com/github/nacabaro/vbhelper/screens/scanScreen/converters/ToNfcConverter.kt"
line="210"
column="42"/>
</issue>
<issue
id="AutoboxingStateCreation"
message="Prefer `mutableIntStateOf` instead of `mutableStateOf`"
errorLine1=" mutableStateOf(0)"
errorLine2=" ~~~~~~~~~~~~~~">
<location
file="src/main/java/com/github/nacabaro/vbhelper/screens/adventureScreen/AdventureScreen.kt"
line="49"
column="9"/>
</issue>
<issue
id="AutoboxingStateCreation"
message="Prefer `mutableIntStateOf` instead of `mutableStateOf`"
errorLine1=" private var _attackPhase by mutableStateOf(0)"
errorLine2=" ~~~~~~~~~~~~~~">
<location
file="src/main/java/com/github/nacabaro/vbhelper/battle/ArenaBattleSystem.kt"
line="17"
column="33"/>
</issue>
<issue
id="AutoboxingStateCreation"
message="Prefer `mutableFloatStateOf` instead of `mutableStateOf`"
errorLine1=" private var _attackProgress by mutableStateOf(0f)"
errorLine2=" ~~~~~~~~~~~~~~">
<location
file="src/main/java/com/github/nacabaro/vbhelper/battle/ArenaBattleSystem.kt"
line="20"
column="36"/>
</issue>
<issue
id="AutoboxingStateCreation"
message="Prefer `mutableIntStateOf` instead of `mutableStateOf`"
errorLine1=" private var _currentView by mutableStateOf(0)"
errorLine2=" ~~~~~~~~~~~~~~">
<location
file="src/main/java/com/github/nacabaro/vbhelper/battle/ArenaBattleSystem.kt"
line="32"
column="33"/>
</issue>
<issue
id="AutoboxingStateCreation"
message="Prefer `mutableFloatStateOf` instead of `mutableStateOf`"
errorLine1=" private var _playerHP by mutableStateOf(100f)"
errorLine2=" ~~~~~~~~~~~~~~">
<location
file="src/main/java/com/github/nacabaro/vbhelper/battle/ArenaBattleSystem.kt"
line="35"
column="30"/>
</issue>
<issue
id="AutoboxingStateCreation"
message="Prefer `mutableFloatStateOf` instead of `mutableStateOf`"
errorLine1=" private var _opponentHP by mutableStateOf(100f)"
errorLine2=" ~~~~~~~~~~~~~~">
<location
file="src/main/java/com/github/nacabaro/vbhelper/battle/ArenaBattleSystem.kt"
line="38"
column="32"/>
</issue>
<issue
id="AutoboxingStateCreation"
message="Prefer `mutableIntStateOf` instead of `mutableStateOf`"
errorLine1=" private var _critBarProgress by mutableStateOf(0)"
errorLine2=" ~~~~~~~~~~~~~~">
<location
file="src/main/java/com/github/nacabaro/vbhelper/battle/ArenaBattleSystem.kt"
line="44"
column="37"/>
</issue>
<issue
id="AutoboxingStateCreation"
message="Prefer `mutableFloatStateOf` instead of `mutableStateOf`"
errorLine1=" private var _dodgeProgress by mutableStateOf(0f)"
errorLine2=" ~~~~~~~~~~~~~~">
<location
file="src/main/java/com/github/nacabaro/vbhelper/battle/ArenaBattleSystem.kt"
line="51"
column="35"/>
</issue>
<issue
id="AutoboxingStateCreation"
message="Prefer `mutableFloatStateOf` instead of `mutableStateOf`"
errorLine1=" private var _dodgeDirection by mutableStateOf(1f) // 1f = up, -1f = down"
errorLine2=" ~~~~~~~~~~~~~~">
<location
file="src/main/java/com/github/nacabaro/vbhelper/battle/ArenaBattleSystem.kt"
line="54"
column="36"/>
</issue>
<issue
id="AutoboxingStateCreation"
message="Prefer `mutableFloatStateOf` instead of `mutableStateOf`"
errorLine1=" private var _hitProgress by mutableStateOf(0f)"
errorLine2=" ~~~~~~~~~~~~~~">
<location
file="src/main/java/com/github/nacabaro/vbhelper/battle/ArenaBattleSystem.kt"
line="60"
column="33"/>
</issue>
<issue
id="AutoboxingStateCreation"
message="Prefer `mutableFloatStateOf` instead of `mutableStateOf`"
errorLine1=" private var _playerDodgeProgress by mutableStateOf(0f)"
errorLine2=" ~~~~~~~~~~~~~~">
<location
file="src/main/java/com/github/nacabaro/vbhelper/battle/ArenaBattleSystem.kt"
line="71"
column="41"/>
</issue>
<issue
id="AutoboxingStateCreation"
message="Prefer `mutableFloatStateOf` instead of `mutableStateOf`"
errorLine1=" private var _playerDodgeDirection by mutableStateOf(1f)"
errorLine2=" ~~~~~~~~~~~~~~">
<location
file="src/main/java/com/github/nacabaro/vbhelper/battle/ArenaBattleSystem.kt"
line="74"
column="42"/>
</issue>
<issue
id="AutoboxingStateCreation"
message="Prefer `mutableFloatStateOf` instead of `mutableStateOf`"
errorLine1=" private var _opponentDodgeProgress by mutableStateOf(0f)"
errorLine2=" ~~~~~~~~~~~~~~">
<location
file="src/main/java/com/github/nacabaro/vbhelper/battle/ArenaBattleSystem.kt"
line="77"
column="43"/>
</issue>
<issue
id="AutoboxingStateCreation"
message="Prefer `mutableFloatStateOf` instead of `mutableStateOf`"
errorLine1=" private var _opponentDodgeDirection by mutableStateOf(1f)"
errorLine2=" ~~~~~~~~~~~~~~">
<location
file="src/main/java/com/github/nacabaro/vbhelper/battle/ArenaBattleSystem.kt"
line="80"
column="44"/>
</issue>
<issue
id="AutoboxingStateCreation"
message="Prefer `mutableFloatStateOf` instead of `mutableStateOf`"
errorLine1=" var animationProgress by remember { mutableStateOf(0f) }"
errorLine2=" ~~~~~~~~~~~~~~">
<location
file="src/main/java/com/github/nacabaro/vbhelper/screens/BattlesScreen.kt"
line="171"
column="41"/>
</issue>
<issue
id="AutoboxingStateCreation"
message="Prefer `mutableFloatStateOf` instead of `mutableStateOf`"
errorLine1=" var scale by remember { mutableStateOf(1f) }"
errorLine2=" ~~~~~~~~~~~~~~">
<location
file="src/main/java/com/github/nacabaro/vbhelper/screens/BattlesScreen.kt"
line="172"
column="29"/>
</issue>
<issue
id="AutoboxingStateCreation"
message="Prefer `mutableFloatStateOf` instead of `mutableStateOf`"
errorLine1=" var alpha by remember { mutableStateOf(1f) }"
errorLine2=" ~~~~~~~~~~~~~~">
<location
file="src/main/java/com/github/nacabaro/vbhelper/screens/BattlesScreen.kt"
line="173"
column="29"/>
</issue>
<issue
id="AutoboxingStateCreation"
message="Prefer `mutableFloatStateOf` instead of `mutableStateOf`"
errorLine1=" var pendingPlayerDamage by remember { mutableStateOf(0f) }"
errorLine2=" ~~~~~~~~~~~~~~">
<location
file="src/main/java/com/github/nacabaro/vbhelper/screens/BattlesScreen.kt"
line="307"
column="43"/>
</issue>
<issue
id="AutoboxingStateCreation"
message="Prefer `mutableFloatStateOf` instead of `mutableStateOf`"
errorLine1=" var pendingOpponentDamage by remember { mutableStateOf(0f) }"
errorLine2=" ~~~~~~~~~~~~~~">
<location
file="src/main/java/com/github/nacabaro/vbhelper/screens/BattlesScreen.kt"
line="308"
column="45"/>
</issue>
<issue
id="AutoboxingStateCreation"
message="Prefer `mutableIntStateOf` instead of `mutableStateOf`"
errorLine1=" var playerDamageValue by remember { mutableStateOf(0) }"
errorLine2=" ~~~~~~~~~~~~~~">
<location
file="src/main/java/com/github/nacabaro/vbhelper/screens/BattlesScreen.kt"
line="313"
column="41"/>
</issue>
<issue
id="AutoboxingStateCreation"
message="Prefer `mutableIntStateOf` instead of `mutableStateOf`"
errorLine1=" var opponentDamageValue by remember { mutableStateOf(0) }"
errorLine2=" ~~~~~~~~~~~~~~">
<location
file="src/main/java/com/github/nacabaro/vbhelper/screens/BattlesScreen.kt"
line="314"
column="43"/>
</issue>
<issue
id="AutoboxingStateCreation"
message="Prefer `mutableIntStateOf` instead of `mutableStateOf`"
errorLine1=" var selectedBackgroundSet by remember { mutableStateOf(0) }"
errorLine2=" ~~~~~~~~~~~~~~">
<location
file="src/main/java/com/github/nacabaro/vbhelper/screens/BattlesScreen.kt"
line="1657"
column="45"/>
</issue>
<issue
id="AutoboxingStateCreation"
message="Prefer `mutableFloatStateOf` instead of `mutableStateOf`"
errorLine1=" var xOffset by remember { mutableStateOf(0f) }"
errorLine2=" ~~~~~~~~~~~~~~">
<location
file="src/main/java/com/github/nacabaro/vbhelper/screens/BattlesScreen.kt"
line="2811"
column="31"/>
</issue>
<issue
id="AutoboxingStateCreation"
message="Prefer `mutableFloatStateOf` instead of `mutableStateOf`"
errorLine1=" var backLayerXOffset by remember { mutableStateOf(0f) }"
errorLine2=" ~~~~~~~~~~~~~~">
<location
file="src/main/java/com/github/nacabaro/vbhelper/screens/BattlesScreen.kt"
line="2912"
column="40"/>
</issue>
<issue
id="AutoboxingStateCreation"
message="Prefer `mutableFloatStateOf` instead of `mutableStateOf`"
errorLine1=" var middleLayerXOffset by remember { mutableStateOf(0f) }"
errorLine2=" ~~~~~~~~~~~~~~">
<location
file="src/main/java/com/github/nacabaro/vbhelper/screens/BattlesScreen.kt"
line="2913"
column="42"/>
</issue>
<issue
id="AutoboxingStateCreation"
message="Prefer `mutableFloatStateOf` instead of `mutableStateOf`"
errorLine1=" var frontLayerXOffset by remember { mutableStateOf(0f) }"
errorLine2=" ~~~~~~~~~~~~~~">
<location
file="src/main/java/com/github/nacabaro/vbhelper/screens/BattlesScreen.kt"
line="2914"
column="41"/>
</issue>
<issue
id="AutoboxingStateCreation"
message="Prefer `mutableIntStateOf` instead of `mutableStateOf`"
errorLine1=" var currentFrameNumber by mutableStateOf(1)"
errorLine2=" ~~~~~~~~~~~~~~">
<location
file="src/main/java/com/github/nacabaro/vbhelper/battle/DigimonAnimationState.kt"
line="41"
column="31"/>
</issue>
<issue
id="AutoboxingStateCreation"
message="Prefer `mutableIntStateOf` instead of `mutableStateOf`"
errorLine1=" var currentFrame by remember { mutableStateOf(0) }"
errorLine2=" ~~~~~~~~~~~~~~">
<location
file="src/main/java/com/github/nacabaro/vbhelper/battle/HitEffectComposables.kt"
line="34"
column="36"/>
</issue>
<issue
id="AutoboxingStateCreation"
message="Prefer `mutableFloatStateOf` instead of `mutableStateOf`"
errorLine1=" var animationProgress by remember { mutableStateOf(0f) }"
errorLine2=" ~~~~~~~~~~~~~~">
<location
file="src/main/java/com/github/nacabaro/vbhelper/battle/HitEffectComposables.kt"
line="36"
column="41"/>
</issue>
<issue
id="AutoboxingStateCreation"
message="Prefer `mutableFloatStateOf` instead of `mutableStateOf`"
errorLine1=" var scale by remember { mutableStateOf(0.5f) }"
errorLine2=" ~~~~~~~~~~~~~~">
<location
file="src/main/java/com/github/nacabaro/vbhelper/battle/HitEffectComposables.kt"
line="37"
column="29"/>
</issue>
<issue
id="AutoboxingStateCreation"
message="Prefer `mutableFloatStateOf` instead of `mutableStateOf`"
errorLine1=" var alpha by remember { mutableStateOf(1f) }"
errorLine2=" ~~~~~~~~~~~~~~">
<location
file="src/main/java/com/github/nacabaro/vbhelper/battle/HitEffectComposables.kt"
line="38"
column="29"/>
</issue>
<issue
id="AutoboxingStateCreation"
message="Prefer `mutableIntStateOf` instead of `mutableStateOf`"
errorLine1=" var selectedTabItem by remember { mutableStateOf(0) }"
errorLine2=" ~~~~~~~~~~~~~~">
<location
file="src/main/java/com/github/nacabaro/vbhelper/screens/itemsScreen/ItemsScreen.kt"
line="28"
column="39"/>
</issue>
<issue
id="AutoboxingStateCreation"
message="Prefer `mutableLongStateOf` instead of `mutableStateOf`"
errorLine1=" var selectedSpecialMissionId by remember { mutableStateOf&lt;Long>(-1) }"
errorLine2=" ~~~~~~~~~~~~~~">
<location
file="src/main/java/com/github/nacabaro/vbhelper/screens/homeScreens/screens/VBDiMHomeScreen.kt"
line="47"
column="48"/>
</issue>
<issue
id="UnusedResources"
message="The resource `R.drawable.baseline_age_24` appears to be unused"
errorLine1="&lt;vector xmlns:android=&quot;http://schemas.android.com/apk/res/android&quot;"
errorLine2="^">
<location
file="src/main/res/drawable/baseline_age_24.xml"
line="1"
column="1"/>
</issue>
<issue
id="UnusedResources"
message="The resource `R.drawable.baseline_egg_24` appears to be unused"
errorLine1="&lt;vector xmlns:android=&quot;http://schemas.android.com/apk/res/android&quot; android:height=&quot;24dp&quot; android:tint=&quot;#000000&quot; android:viewportHeight=&quot;24&quot; android:viewportWidth=&quot;24&quot; android:width=&quot;24dp&quot;>"
errorLine2="^">
<location
file="src/main/res/drawable/baseline_egg_24.xml"
line="1"
column="1"/>
</issue>
<issue
id="UnusedResources"
message="The resource `R.drawable.baseline_vaccine_24` appears to be unused"
errorLine1="&lt;vector xmlns:android=&quot;http://schemas.android.com/apk/res/android&quot;"
errorLine2="^">
<location
file="src/main/res/drawable/baseline_vaccine_24.xml"
line="1"
column="1"/>
</issue>
<issue
id="UnusedResources"
message="The resource `R.drawable.baseline_virus_24` appears to be unused"
errorLine1="&lt;vector xmlns:android=&quot;http://schemas.android.com/apk/res/android&quot;"
errorLine2="^">
<location
file="src/main/res/drawable/baseline_virus_24.xml"
line="1"
column="1"/>
</issue>
<issue
id="UnusedResources"
message="The resource `R.color.purple_200` appears to be unused"
errorLine1=" &lt;color name=&quot;purple_200&quot;>#FFBB86FC&lt;/color>"
errorLine2=" ~~~~~~~~~~~~~~~~~">
<location
file="src/main/res/values/colors.xml"
line="3"
column="12"/>
</issue>
<issue
id="UnusedResources"
message="The resource `R.color.purple_500` appears to be unused"
errorLine1=" &lt;color name=&quot;purple_500&quot;>#FF6200EE&lt;/color>"
errorLine2=" ~~~~~~~~~~~~~~~~~">
<location
file="src/main/res/values/colors.xml"
line="4"
column="12"/>
</issue>
<issue
id="UnusedResources"
message="The resource `R.color.purple_700` appears to be unused"
errorLine1=" &lt;color name=&quot;purple_700&quot;>#FF3700B3&lt;/color>"
errorLine2=" ~~~~~~~~~~~~~~~~~">
<location
file="src/main/res/values/colors.xml"
line="5"
column="12"/>
</issue>
<issue
id="UnusedResources"
message="The resource `R.color.teal_200` appears to be unused"
errorLine1=" &lt;color name=&quot;teal_200&quot;>#FF03DAC5&lt;/color>"
errorLine2=" ~~~~~~~~~~~~~~~">
<location
file="src/main/res/values/colors.xml"
line="6"
column="12"/>
</issue>
<issue
id="UnusedResources"
message="The resource `R.color.teal_700` appears to be unused"
errorLine1=" &lt;color name=&quot;teal_700&quot;>#FF018786&lt;/color>"
errorLine2=" ~~~~~~~~~~~~~~~">
<location
file="src/main/res/values/colors.xml"
line="7"
column="12"/>
</issue>
<issue
id="UnusedResources"
message="The resource `R.color.black` appears to be unused"
errorLine1=" &lt;color name=&quot;black&quot;>#FF000000&lt;/color>"
errorLine2=" ~~~~~~~~~~~~">
<location
file="src/main/res/values/colors.xml"
line="8"
column="12"/>
</issue>
<issue
id="UnusedResources"
message="The resource `R.color.white` appears to be unused"
errorLine1=" &lt;color name=&quot;white&quot;>#FFFFFFFF&lt;/color>"
errorLine2=" ~~~~~~~~~~~~">
<location
file="src/main/res/values/colors.xml"
line="9"
column="12"/>
</issue>
<issue
id="UnusedResources"
message="The resource `R.drawable.ic_launcher_background` appears to be unused"
errorLine1="&lt;vector xmlns:android=&quot;http://schemas.android.com/apk/res/android&quot;"
errorLine2="^">
<location
file="src/main/res/drawable/ic_launcher_background.xml"
line="2"
column="1"/>
</issue>
<issue
id="UnusedResources"
message="The resource `R.string.battles_online_title` appears to be unused"
errorLine1=" &lt;string name=&quot;battles_online_title&quot;>Online battles&lt;/string>"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/res/values/strings.xml"
line="158"
column="13"/>
</issue>
<issue
id="UnusedResources"
message="The resource `R.string.battles_coming_soon` appears to be unused"
errorLine1=" &lt;string name=&quot;battles_coming_soon&quot;>Coming soon&lt;/string>"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/res/values/strings.xml"
line="159"
column="13"/>
</issue>
<issue
id="UseOfNonLambdaOffsetOverload"
message="State backed values should use the lambda overload of Modifier.offset"
errorLine1=" .offset(y = yOffset)"
errorLine2=" ~~~~~~">
<location
file="src/main/java/com/github/nacabaro/vbhelper/screens/BattlesScreen.kt"
line="218"
column="14"/>
</issue>
<issue
id="UseOfNonLambdaOffsetOverload"
message="State backed values should use the lambda overload of Modifier.offset"
errorLine1=" .offset(x = (xOffset + (index * screenWidth.value)).dp),"
errorLine2=" ~~~~~~">
<location
file="src/main/java/com/github/nacabaro/vbhelper/screens/BattlesScreen.kt"
line="2868"
column="26"/>
</issue>
<issue
id="UseOfNonLambdaOffsetOverload"
message="State backed values should use the lambda overload of Modifier.offset"
errorLine1=" .offset(x = (backLayerXOffset + (index * screenWidth.value)).dp),"
errorLine2=" ~~~~~~">
<location
file="src/main/java/com/github/nacabaro/vbhelper/screens/BattlesScreen.kt"
line="3007"
column="26"/>
</issue>
<issue
id="UseOfNonLambdaOffsetOverload"
message="State backed values should use the lambda overload of Modifier.offset"
errorLine1=" .offset(x = (middleLayerXOffset + (index * screenWidth.value)).dp),"
errorLine2=" ~~~~~~">
<location
file="src/main/java/com/github/nacabaro/vbhelper/screens/BattlesScreen.kt"
line="3021"
column="26"/>
</issue>
<issue
id="UseOfNonLambdaOffsetOverload"
message="State backed values should use the lambda overload of Modifier.offset"
errorLine1=" .offset(x = (frontLayerXOffset + (index * screenWidth.value)).dp),"
errorLine2=" ~~~~~~">
<location
file="src/main/java/com/github/nacabaro/vbhelper/screens/BattlesScreen.kt"
line="3035"
column="26"/>
</issue>
<issue
id="UseOfNonLambdaOffsetOverload"
message="State backed values should use the lambda overload of Modifier.offset"
errorLine1=" .offset("
errorLine2=" ~~~~~~">
<location
file="src/main/java/com/github/nacabaro/vbhelper/battle/HitEffectComposables.kt"
line="94"
column="22"/>
</issue>
<issue
id="TypographyEllipsis"
message="Replace &quot;...&quot; with ellipsis character (…, &amp;#8230;) ?"
errorLine1=" &lt;string name=&quot;action_place_near_reader&quot;>Aproxime o seu Vital Bracelet do leitor...&lt;/string>"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/res/values-pt-rBR/strings.xml"
line="109"
column="45"/>
</issue>
<issue
id="TypographyEllipsis"
message="Replace &quot;...&quot; with ellipsis character (…, &amp;#8230;) ?"
errorLine1=" &lt;string name=&quot;action_place_near_reader&quot;>Place your Vital Bracelet near the reader...&lt;/string>"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/res/values/strings.xml"
line="110"
column="45"/>
</issue>
<issue
id="MonochromeLauncherIcon"
message="The application adaptive icon is missing a monochrome tag"
errorLine1="&lt;adaptive-icon xmlns:android=&quot;http://schemas.android.com/apk/res/android&quot;>"
errorLine2="^">
<location
file="src/main/res/mipmap-anydpi-v26/ic_launcher.xml"
line="2"
column="1"/>
</issue>
<issue
id="MonochromeLauncherIcon"
message="The application adaptive roundIcon is missing a monochrome tag"
errorLine1="&lt;adaptive-icon xmlns:android=&quot;http://schemas.android.com/apk/res/android&quot;>"
errorLine2="^">
<location
file="src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml"
line="2"
column="1"/>
</issue>
<issue
id="UnnecessaryRequiredFeature"
message="Consider whether this feature (`android.hardware.nfc`) really is required for the app to function; you can set `android:required=&quot;false&quot;` to indicate that the feature is used but not required"
errorLine1=" &lt;uses-feature android:name=&quot;android.hardware.nfc&quot; android:required=&quot;true&quot; />"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/AndroidManifest.xml"
line="6"
column="33"/>
</issue>
<issue
id="UseKtx"
message="Use the KTX extension function `Bitmap.scale` instead?"
errorLine1=" Bitmap.createScaledBitmap(spriteBitmap, "
errorLine2=" ^">
<location
file="src/main/java/com/github/nacabaro/vbhelper/battle/BattleSpriteManager.kt"
line="110"
column="17"/>
</issue>
<issue
id="UseKtx"
message="Use the KTX extension function `String.toUri` instead?"
errorLine1=" intent.data = Uri.parse(&quot;package:${context.packageName}&quot;)"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/com/github/nacabaro/vbhelper/screens/BattlesScreen.kt"
line="1610"
column="35"/>
</issue>
<issue
id="UseKtx"
message="Use the KTX extension function `String.toUri` instead?"
errorLine1=" intent.data = Uri.parse(&quot;package:${context.packageName}&quot;)"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/com/github/nacabaro/vbhelper/screens/BattlesScreen.kt"
line="1610"
column="35"/>
</issue>
<issue
id="UseKtx"
message="Use the KTX extension function `String.toUri` instead?"
errorLine1=" val authIntent = Intent(Intent.ACTION_VIEW, Uri.parse(authUrl))"
errorLine2=" ~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/com/github/nacabaro/vbhelper/screens/BattlesScreen.kt"
line="1822"
column="77"/>
</issue>
<issue
id="UseKtx"
message="Use the KTX extension function `String.toUri` instead?"
errorLine1=" val authIntent = Intent(Intent.ACTION_VIEW, Uri.parse(authUrl))"
errorLine2=" ~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/com/github/nacabaro/vbhelper/screens/BattlesScreen.kt"
line="1938"
column="77"/>
</issue>
<issue
id="UseKtx"
message="Use the KTX extension function `String.toUri` instead?"
errorLine1=" val authIntent = Intent(Intent.ACTION_VIEW, Uri.parse(authUrl))"
errorLine2=" ~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/com/github/nacabaro/vbhelper/screens/BattlesScreen.kt"
line="1956"
column="61"/>
</issue>
<issue
id="UseKtx"
message="Use the KTX extension function `String.toUri` instead?"
errorLine1=" val authIntent = Intent(Intent.ACTION_VIEW, Uri.parse(authUrl))"
errorLine2=" ~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/com/github/nacabaro/vbhelper/screens/BattlesScreen.kt"
line="2042"
column="61"/>
</issue>
<issue
id="UseKtx"
message="Use the KTX extension function `String.toUri` instead?"
errorLine1=" Uri.parse(&quot;https://github.com/nacabaro/vbhelper/&quot;)"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/com/github/nacabaro/vbhelper/screens/settingsScreen/SettingsScreen.kt"
line="83"
column="21"/>
</issue>
<issue
id="UseKtx"
message="Use the KTX function `createBitmap` instead?"
errorLine1=" bitmapList.add(Bitmap.createBitmap(sprite.width, sprite.height, Bitmap.Config.RGB_565).apply {"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/com/github/nacabaro/vbhelper/screens/spriteViewer/SpriteViewerControllerImpl.kt"
line="28"
column="28"/>
</issue>
<issue
id="UseKtx"
message="Use the KTX function `createBitmap` instead?"
errorLine1=" bitmapList.add(Bitmap.createBitmap(sprite.width, sprite.height, Bitmap.Config.RGB_565).apply {"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/com/github/nacabaro/vbhelper/screens/spriteViewer/SpriteViewerControllerImpl.kt"
line="31"
column="28"/>
</issue>
<issue
id="UseKtx"
message="Use the KTX function `createBitmap` instead?"
errorLine1=" bitmapList.add(Bitmap.createBitmap(sprite.width, sprite.height, Bitmap.Config.RGB_565).apply {"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/com/github/nacabaro/vbhelper/screens/spriteViewer/SpriteViewerControllerImpl.kt"
line="34"
column="28"/>
</issue>
<issue
id="UseKtx"
message="Use the KTX function `createBitmap` instead?"
errorLine1=" bitmapList.add(Bitmap.createBitmap(sprite.width, sprite.height, Bitmap.Config.RGB_565).apply {"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/com/github/nacabaro/vbhelper/screens/spriteViewer/SpriteViewerControllerImpl.kt"
line="37"
column="28"/>
</issue>
<issue
id="UseKtx"
message="Use the KTX function `createBitmap` instead?"
errorLine1=" bitmapList.add(Bitmap.createBitmap(sprite.width, sprite.height, Bitmap.Config.RGB_565).apply {"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/com/github/nacabaro/vbhelper/screens/spriteViewer/SpriteViewerControllerImpl.kt"
line="40"
column="28"/>
</issue>
<issue
id="UseKtx"
message="Use the KTX function `createBitmap` instead?"
errorLine1=" bitmapList.add(Bitmap.createBitmap(sprite.width, sprite.height, Bitmap.Config.RGB_565).apply {"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/com/github/nacabaro/vbhelper/screens/spriteViewer/SpriteViewerControllerImpl.kt"
line="43"
column="28"/>
</issue>
<issue
id="UseKtx"
message="Use the KTX function `createBitmap` instead?"
errorLine1=" bitmapList.add(Bitmap.createBitmap(sprite.width, sprite.height, Bitmap.Config.RGB_565).apply {"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/com/github/nacabaro/vbhelper/screens/spriteViewer/SpriteViewerControllerImpl.kt"
line="46"
column="28"/>
</issue>
<issue
id="UseKtx"
message="Use the KTX function `createBitmap` instead?"
errorLine1=" bitmapList.add(Bitmap.createBitmap(sprite.width, sprite.height, Bitmap.Config.RGB_565).apply {"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/com/github/nacabaro/vbhelper/screens/spriteViewer/SpriteViewerControllerImpl.kt"
line="49"
column="28"/>
</issue>
<issue
id="UseKtx"
message="Use the KTX function `createBitmap` instead?"
errorLine1=" bitmapList.add(Bitmap.createBitmap(sprite.width, sprite.height, Bitmap.Config.RGB_565).apply {"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/com/github/nacabaro/vbhelper/screens/spriteViewer/SpriteViewerControllerImpl.kt"
line="52"
column="28"/>
</issue>
<issue
id="UseKtx"
message="Use the KTX function `createBitmap` instead?"
errorLine1=" bitmapList.add(Bitmap.createBitmap(sprite.width, sprite.height, Bitmap.Config.RGB_565).apply {"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/com/github/nacabaro/vbhelper/screens/spriteViewer/SpriteViewerControllerImpl.kt"
line="55"
column="28"/>
</issue>
<issue
id="UseKtx"
message="Use the KTX function `createBitmap` instead?"
errorLine1=" bitmapList.add(Bitmap.createBitmap(sprite.width, sprite.height, Bitmap.Config.RGB_565).apply {"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/com/github/nacabaro/vbhelper/screens/spriteViewer/SpriteViewerControllerImpl.kt"
line="58"
column="28"/>
</issue>
<issue
id="UseKtx"
message="Use the KTX function `createBitmap` instead?"
errorLine1=" bitmapList.add(Bitmap.createBitmap(sprite.width, sprite.height, Bitmap.Config.RGB_565).apply {"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/com/github/nacabaro/vbhelper/screens/spriteViewer/SpriteViewerControllerImpl.kt"
line="61"
column="28"/>
</issue>
<issue
id="UseTomlInstead"
message="Use version catalog instead (androidx.navigation:navigation-compose is already available as `androidx-navigation-compose`, but using version 2.9.6 instead)"
errorLine1=" implementation(&quot;androidx.navigation:navigation-compose:2.7.0&quot;)"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="build.gradle.kts"
line="109"
column="20"/>
</issue>
<issue
id="UseTomlInstead"
message="Use version catalog instead (com.google.android.material:material is already available as `material`, but using version 1.13.0 instead)"
errorLine1=" implementation(&quot;com.google.android.material:material:1.2.0&quot;)"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="build.gradle.kts"
line="110"
column="20"/>
</issue>
<issue
id="UseTomlInstead"
message="Use version catalog instead"
errorLine1=" implementation(&quot;androidx.compose.material:material&quot;)"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="build.gradle.kts"
line="112"
column="20"/>
</issue>
<issue
id="UseTomlInstead"
message="Use version catalog instead (androidx.datastore:datastore-preferences is already available as `androidx-datastore-preferences`, but using version 1.2.0 instead)"
errorLine1=" implementation(&quot;androidx.datastore:datastore-preferences:1.1.7&quot;)"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="build.gradle.kts"
line="113"
column="20"/>
</issue>
<issue
id="UseTomlInstead"
message="Use version catalog instead"
errorLine1=" implementation(&quot;com.squareup.retrofit2:retrofit:2.9.0&quot;)"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="build.gradle.kts"
line="115"
column="20"/>
</issue>
<issue
id="UseTomlInstead"
message="Use version catalog instead"
errorLine1=" implementation(&quot;com.squareup.retrofit2:converter-gson:2.9.0&quot;)"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="build.gradle.kts"
line="116"
column="20"/>
</issue>
<issue
id="UseTomlInstead"
message="Use version catalog instead"
errorLine1=" implementation(&quot;com.google.code.gson:gson:2.10.1&quot;)"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="build.gradle.kts"
line="117"
column="20"/>
</issue>
<issue
id="UseTomlInstead"
message="Use version catalog instead"
errorLine1=" implementation(&quot;com.squareup.okhttp3:logging-interceptor:4.11.0&quot;)"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="build.gradle.kts"
line="120"
column="20"/>
</issue>
</issues>