From 496f421f170f6d437cdef63dc4644bf6b423a547 Mon Sep 17 00:00:00 2001 From: Harsh Shandilya Date: Thu, 1 Jun 2023 19:34:26 +0530 Subject: fix: clear violations of `FullyQualifiedResource` --- app/lint-baseline.xml | 11 ----------- .../java/app/passwordstore/injection/pwgen/DicewareModule.kt | 5 ++--- 2 files changed, 2 insertions(+), 14 deletions(-) (limited to 'app') diff --git a/app/lint-baseline.xml b/app/lint-baseline.xml index 36bccbca..c2f393ad 100644 --- a/app/lint-baseline.xml +++ b/app/lint-baseline.xml @@ -12,17 +12,6 @@ column="19"/> - - - - diff --git a/app/src/main/java/app/passwordstore/injection/pwgen/DicewareModule.kt b/app/src/main/java/app/passwordstore/injection/pwgen/DicewareModule.kt index 78bad768..d8057356 100644 --- a/app/src/main/java/app/passwordstore/injection/pwgen/DicewareModule.kt +++ b/app/src/main/java/app/passwordstore/injection/pwgen/DicewareModule.kt @@ -8,6 +8,7 @@ package app.passwordstore.injection.pwgen import android.content.Context import app.passwordstore.passgen.diceware.DicewarePassphraseGenerator import app.passwordstore.passgen.diceware.Die +import app.passwordstore.passgen.diceware.R as dicewareR import app.passwordstore.passgen.diceware.RandomIntGenerator import dagger.Module import dagger.Provides @@ -46,9 +47,7 @@ object DicewareModule { @[Provides WordlistQualifier] fun provideDefaultWordList(@ApplicationContext context: Context): InputStream { - return context.resources.openRawResource( - app.passwordstore.passgen.diceware.R.raw.diceware_wordlist - ) + return context.resources.openRawResource(dicewareR.raw.diceware_wordlist) } } -- cgit v1.2.3