mirror of
https://github.com/bitwarden/android.git
synced 2026-08-30 17:33:42 -05:00
Make cardStyle parameter optional in BitwardenTextField
This commit is contained in:
+3
-3
@@ -108,7 +108,7 @@ fun BitwardenTextField(
|
||||
label: String?,
|
||||
value: String,
|
||||
onValueChange: (String) -> Unit,
|
||||
cardStyle: CardStyle,
|
||||
cardStyle: CardStyle?,
|
||||
modifier: Modifier = Modifier,
|
||||
tooltip: TooltipData? = null,
|
||||
placeholder: String? = null,
|
||||
@@ -206,8 +206,8 @@ fun BitwardenTextField(
|
||||
label: String?,
|
||||
value: String,
|
||||
onValueChange: (String) -> Unit,
|
||||
supportingContent: (@Composable ColumnScope.() -> Unit)?,
|
||||
cardStyle: CardStyle,
|
||||
supportingContent: @Composable (ColumnScope.() -> Unit)?,
|
||||
cardStyle: CardStyle?,
|
||||
modifier: Modifier = Modifier,
|
||||
tooltip: TooltipData? = null,
|
||||
supportingContentPadding: PaddingValues = PaddingValues(vertical = 12.dp, horizontal = 16.dp),
|
||||
|
||||
@@ -103,7 +103,7 @@ fun ItemHeader(
|
||||
)
|
||||
},
|
||||
textFieldTestTag = textFieldTestTag,
|
||||
cardStyle = CardStyle.Full,
|
||||
cardStyle = null,
|
||||
textStyle = BitwardenTheme.typography.titleMedium,
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user