mirror of
https://github.com/nacabaro/vbhelper.git
synced 2026-07-30 00:31:54 +00:00
1827 lines
76 KiB
XML
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("bgm_%03d.wav", 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("dim%03d_mon%02d", 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 = "${characterId}_${String.format("%02d", frameNumber)}.png""
|
|
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="true"` 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="false"` to make it clear this is not intended to be an Android App Link."
|
|
errorLine1=" <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=" <data android:scheme="http" android:host="localhost" android:port="8080" android:pathPrefix="/authenticate" />"
|
|
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=" <data android:scheme="http" android:host="127.0.0.1" android:port="8080" android:pathPrefix="/authenticate" />"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="src/main/AndroidManifest.xml"
|
|
line="46"
|
|
column="17"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="RedundantLabel"
|
|
message="Redundant label can be removed"
|
|
errorLine1=" android:label="@string/app_name""
|
|
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 = "8.13.2""
|
|
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("com.google.devtools.ksp") version "2.3.0""
|
|
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("androidx.navigation:navigation-compose:2.7.0")"
|
|
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("com.google.android.material:material:1.2.0")"
|
|
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("androidx.datastore:datastore-preferences:1.1.7")"
|
|
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 = "1.2.0""
|
|
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 = "1.2.0""
|
|
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 = "1.17.0""
|
|
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 = "2.10.0""
|
|
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 = "1.12.2""
|
|
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 = "2026.01.00""
|
|
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 = "1.13.0""
|
|
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 = "2.9.6""
|
|
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("com.squareup.retrofit2:retrofit:2.9.0")"
|
|
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("com.squareup.retrofit2:converter-gson:2.9.0")"
|
|
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("com.google.code.gson:gson:2.10.1")"
|
|
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("com.squareup.okhttp3:logging-interceptor:4.11.0")"
|
|
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 = "2.3.0""
|
|
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 = "2.3.0""
|
|
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 = "0.9.6""
|
|
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 = "4.33.4""
|
|
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<APIBattleCharacter>()) }"
|
|
errorLine2=" ~~~~~~~~~~~~~~">
|
|
<location
|
|
file="src/main/java/com/github/nacabaro/vbhelper/screens/BattlesScreen.kt"
|
|
line="1645"
|
|
column="37"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="MissingTranslation"
|
|
message=""home_special_mission_delete_main" is not translated in "pt" (Portuguese)"
|
|
errorLine1=" <string name="home_special_mission_delete_main">Are you sure you want to delete this special mission with this progress?</string>"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="src/main/res/values/strings.xml"
|
|
line="215"
|
|
column="13"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="MissingTranslation"
|
|
message=""home_special_mission_delete_dismiss" is not translated in "pt" (Portuguese)"
|
|
errorLine1=" <string name="home_special_mission_delete_dismiss">Dismiss</string>"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="src/main/res/values/strings.xml"
|
|
line="216"
|
|
column="13"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="MissingTranslation"
|
|
message=""home_special_mission_delete_remove" is not translated in "pt" (Portuguese)"
|
|
errorLine1=" <string name="home_special_mission_delete_remove">Remove</string>"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="src/main/res/values/strings.xml"
|
|
line="217"
|
|
column="13"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="PluralsCandidate"
|
|
message="Formatting %d followed by words ("credits"): This should probably be a plural rather than a string"
|
|
errorLine1=" <string name="items_store_credits">%1$d credits</string>"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="src/main/res/values/strings.xml"
|
|
line="141"
|
|
column="5"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="PluralsCandidate"
|
|
message="Formatting %d followed by words ("credits"): This should probably be a plural rather than a string"
|
|
errorLine1=" <string name="obtained_item_you_also_got_credits">You also got %1$d credits</string>"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="src/main/res/values/strings.xml"
|
|
line="146"
|
|
column="5"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="PluralsCandidate"
|
|
message="Formatting %d followed by words ("credits"): This should probably be a plural rather than a string"
|
|
errorLine1=" <string name="item_dialog_costs_credits">Costs %1$d credits</string>"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="src/main/res/values/strings.xml"
|
|
line="152"
|
|
column="5"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="PluralsCandidate"
|
|
message="Formatting %d followed by words ("characters"): This should probably be a plural rather than a string"
|
|
errorLine1=" <string name="card_entry_characters_obtained">%1$d of %2$d characters obtained</string>"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="src/main/res/values/strings.xml"
|
|
line="182"
|
|
column="5"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="PluralsCandidate"
|
|
message="Formatting %d followed by words ("steps"): This should probably be a plural rather than a string"
|
|
errorLine1=" <string name="special_mission_steps">Walk %1$d steps</string>"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="src/main/res/values/strings.xml"
|
|
line="206"
|
|
column="5"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="PluralsCandidate"
|
|
message="Formatting %d followed by words ("times"): This should probably be a plural rather than a string"
|
|
errorLine1=" <string name="special_mission_battles">Battle %1$d times</string>"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="src/main/res/values/strings.xml"
|
|
line="207"
|
|
column="5"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="PluralsCandidate"
|
|
message="Formatting %d followed by words ("battles"): This should probably be a plural rather than a string"
|
|
errorLine1=" <string name="special_mission_wins">Win %1$d battles</string>"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="src/main/res/values/strings.xml"
|
|
line="208"
|
|
column="5"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="PluralsCandidate"
|
|
message="Formatting %d followed by words ("vitals"): This should probably be a plural rather than a string"
|
|
errorLine1=" <string name="special_mission_vitals">Earn %1$d vitals</string>"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="src/main/res/values/strings.xml"
|
|
line="209"
|
|
column="5"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="PluralsCandidate"
|
|
message="Formatting %d followed by words ("steps"): This should probably be a plural rather than a string"
|
|
errorLine1=" <string name="special_mission_steps_progress">Walked %1$d steps</string>"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="src/main/res/values/strings.xml"
|
|
line="210"
|
|
column="5"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="PluralsCandidate"
|
|
message="Formatting %d followed by words ("times"): This should probably be a plural rather than a string"
|
|
errorLine1=" <string name="special_mission_battles_progress">Battled %1$d times</string>"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="src/main/res/values/strings.xml"
|
|
line="211"
|
|
column="5"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="PluralsCandidate"
|
|
message="Formatting %d followed by words ("battles"): This should probably be a plural rather than a string"
|
|
errorLine1=" <string name="special_mission_wins_progress">Won %1$d battles</string>"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="src/main/res/values/strings.xml"
|
|
line="212"
|
|
column="5"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="PluralsCandidate"
|
|
message="Formatting %d followed by words ("vitals"): This should probably be a plural rather than a string"
|
|
errorLine1=" <string name="special_mission_vitals_progress">Earned %1$d vitals</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<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="<vector xmlns:android="http://schemas.android.com/apk/res/android""
|
|
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="<vector xmlns:android="http://schemas.android.com/apk/res/android" android:height="24dp" android:tint="#000000" android:viewportHeight="24" android:viewportWidth="24" android:width="24dp">"
|
|
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="<vector xmlns:android="http://schemas.android.com/apk/res/android""
|
|
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="<vector xmlns:android="http://schemas.android.com/apk/res/android""
|
|
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=" <color name="purple_200">#FFBB86FC</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=" <color name="purple_500">#FF6200EE</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=" <color name="purple_700">#FF3700B3</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=" <color name="teal_200">#FF03DAC5</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=" <color name="teal_700">#FF018786</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=" <color name="black">#FF000000</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=" <color name="white">#FFFFFFFF</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="<vector xmlns:android="http://schemas.android.com/apk/res/android""
|
|
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=" <string name="battles_online_title">Online battles</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=" <string name="battles_coming_soon">Coming soon</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 "..." with ellipsis character (…, &#8230;) ?"
|
|
errorLine1=" <string name="action_place_near_reader">Aproxime o seu Vital Bracelet do leitor...</string>"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="src/main/res/values-pt-rBR/strings.xml"
|
|
line="109"
|
|
column="45"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="TypographyEllipsis"
|
|
message="Replace "..." with ellipsis character (…, &#8230;) ?"
|
|
errorLine1=" <string name="action_place_near_reader">Place your Vital Bracelet near the reader...</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="<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">"
|
|
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="<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">"
|
|
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="false"` to indicate that the feature is used but not required"
|
|
errorLine1=" <uses-feature android:name="android.hardware.nfc" android:required="true" />"
|
|
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("package:${context.packageName}")"
|
|
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("package:${context.packageName}")"
|
|
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("https://github.com/nacabaro/vbhelper/")"
|
|
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("androidx.navigation:navigation-compose:2.7.0")"
|
|
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("com.google.android.material:material:1.2.0")"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="build.gradle.kts"
|
|
line="110"
|
|
column="20"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="UseTomlInstead"
|
|
message="Use version catalog instead"
|
|
errorLine1=" implementation("androidx.compose.material:material")"
|
|
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("androidx.datastore:datastore-preferences:1.1.7")"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="build.gradle.kts"
|
|
line="113"
|
|
column="20"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="UseTomlInstead"
|
|
message="Use version catalog instead"
|
|
errorLine1=" implementation("com.squareup.retrofit2:retrofit:2.9.0")"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="build.gradle.kts"
|
|
line="115"
|
|
column="20"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="UseTomlInstead"
|
|
message="Use version catalog instead"
|
|
errorLine1=" implementation("com.squareup.retrofit2:converter-gson:2.9.0")"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="build.gradle.kts"
|
|
line="116"
|
|
column="20"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="UseTomlInstead"
|
|
message="Use version catalog instead"
|
|
errorLine1=" implementation("com.google.code.gson:gson:2.10.1")"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="build.gradle.kts"
|
|
line="117"
|
|
column="20"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="UseTomlInstead"
|
|
message="Use version catalog instead"
|
|
errorLine1=" implementation("com.squareup.okhttp3:logging-interceptor:4.11.0")"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="build.gradle.kts"
|
|
line="120"
|
|
column="20"/>
|
|
</issue>
|
|
|
|
</issues>
|