File tree 4 files changed +12
-1
lines changed
app/src/main/java/com/x8bit/bitwarden/ui/vault/feature/item
4 files changed +12
-1
lines changed Original file line number Diff line number Diff line change @@ -60,6 +60,9 @@ fun VaultItemCardContent(
60
60
isExpanded = isExpanded,
61
61
onExpandClick = { isExpanded = ! isExpanded },
62
62
)
63
+ item {
64
+ Spacer (modifier = Modifier .height(height = 8 .dp))
65
+ }
63
66
cardState.cardholderName?.let { cardholderName ->
64
67
item(key = " cardholderName" ) {
65
68
BitwardenTextField (
Original file line number Diff line number Diff line change @@ -59,6 +59,9 @@ fun VaultItemIdentityContent(
59
59
isExpanded = isExpanded,
60
60
onExpandClick = { isExpanded = ! isExpanded },
61
61
)
62
+ item {
63
+ Spacer (modifier = Modifier .height(height = 8 .dp))
64
+ }
62
65
identityState.identityName?.let { identityName ->
63
66
item(key = " identityName" ) {
64
67
IdentityCopyField (
Original file line number Diff line number Diff line change @@ -56,6 +56,9 @@ fun VaultItemSecureNoteContent(
56
56
isExpanded = isExpanded,
57
57
onExpandClick = { isExpanded = ! isExpanded },
58
58
)
59
+ item {
60
+ Spacer (modifier = Modifier .height(height = 8 .dp))
61
+ }
59
62
commonState.notes?.let { notes ->
60
63
item(key = " notes" ) {
61
64
Spacer (modifier = Modifier .height(8 .dp))
Original file line number Diff line number Diff line change @@ -112,17 +112,19 @@ fun LazyListScope.itemHeader(
112
112
}
113
113
114
114
if (relatedLocations.isEmpty()) {
115
- item {
115
+ item(key = " noFolder " ) {
116
116
ItemLocationListItem (
117
117
vectorPainter = rememberVectorPainter(R .drawable.ic_folder),
118
118
text = stringResource(R .string.no_folder),
119
119
iconTestTag = " NoFolderIcon" ,
120
120
modifier = Modifier
121
121
.standardHorizontalMargin()
122
122
.fillMaxWidth()
123
+ .animateItem()
123
124
.cardStyle(
124
125
cardStyle = CardStyle .Bottom ,
125
126
paddingVertical = 0 .dp,
127
+ paddingHorizontal = 16 .dp,
126
128
),
127
129
)
128
130
}
You can’t perform that action at this time.
0 commit comments