mirror of
https://github.com/bitwarden/android.git
synced 2026-05-07 11:29:37 -05:00
Fix minor lint errors (#660)
This commit is contained in:
committed by
Álison Fernandes
parent
ff361a7b61
commit
d0d1e669d1
@@ -34,7 +34,6 @@ import androidx.compose.ui.ExperimentalComposeUiApi
|
||||
import androidx.compose.ui.Modifier
|
||||
import androidx.compose.ui.graphics.ColorFilter
|
||||
import androidx.compose.ui.input.nestedscroll.nestedScroll
|
||||
import androidx.compose.ui.platform.LocalContext
|
||||
import androidx.compose.ui.res.painterResource
|
||||
import androidx.compose.ui.res.stringResource
|
||||
import androidx.compose.ui.semantics.semantics
|
||||
@@ -179,7 +178,6 @@ fun LandingScreen(
|
||||
.fillMaxSize(),
|
||||
)
|
||||
|
||||
val context = LocalContext.current
|
||||
BitwardenAccountSwitcher(
|
||||
isVisible = isAccountMenuVisible,
|
||||
accountSummaries = state.accountSummaries.toImmutableList(),
|
||||
|
||||
@@ -28,8 +28,6 @@ import kotlinx.parcelize.Parcelize
|
||||
* Represents a Bitwarden-styled loading dialog that shows text and a circular progress indicator.
|
||||
*
|
||||
* @param visibilityState the [LoadingDialogState] used to populate the dialog.
|
||||
* @param onDismissRequest called when the user has requested to dismiss the dialog, whether by
|
||||
* * tapping "OK", tapping outside the dialog, or pressing the back button
|
||||
*/
|
||||
@OptIn(ExperimentalMaterial3Api::class)
|
||||
@Composable
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
package com.x8bit.bitwarden.ui.tools.feature.generator.model
|
||||
|
||||
import android.os.Parcelable
|
||||
import kotlinx.android.parcel.Parcelize
|
||||
import kotlinx.parcelize.Parcelize
|
||||
|
||||
/**
|
||||
* A sealed class representing the mode in which the generator displays.
|
||||
|
||||
@@ -98,9 +98,9 @@ class FakeAuthDiskSource : AuthDiskSource {
|
||||
override fun storePinProtectedUserKey(
|
||||
userId: String,
|
||||
pinProtectedUserKey: String?,
|
||||
isInMemoryOnly: Boolean,
|
||||
inMemoryOnly: Boolean,
|
||||
) {
|
||||
storedPinProtectedUserKeys[userId] = pinProtectedUserKey to isInMemoryOnly
|
||||
storedPinProtectedUserKeys[userId] = pinProtectedUserKey to inMemoryOnly
|
||||
}
|
||||
|
||||
override fun getEncryptedPin(userId: String): String? =
|
||||
|
||||
@@ -688,7 +688,7 @@ class VaultRepositoryTest {
|
||||
storePinProtectedUserKey(
|
||||
userId = userId,
|
||||
pinProtectedUserKey = null,
|
||||
isInMemoryOnly = true,
|
||||
inMemoryOnly = true,
|
||||
)
|
||||
}
|
||||
|
||||
@@ -741,7 +741,7 @@ class VaultRepositoryTest {
|
||||
storePinProtectedUserKey(
|
||||
userId = userId,
|
||||
pinProtectedUserKey = null,
|
||||
isInMemoryOnly = true,
|
||||
inMemoryOnly = true,
|
||||
)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user