mirror of
https://github.com/bitwarden/android.git
synced 2026-03-22 12:32:53 -05:00
Refactor ExpandingItemLocationContent to use ColumnScope
This commit is contained in:
committed by
David Perez
parent
727d943fae
commit
0ba240852f
@@ -10,6 +10,7 @@ import androidx.compose.foundation.background
|
||||
import androidx.compose.foundation.layout.Arrangement
|
||||
import androidx.compose.foundation.layout.Box
|
||||
import androidx.compose.foundation.layout.Column
|
||||
import androidx.compose.foundation.layout.ColumnScope
|
||||
import androidx.compose.foundation.layout.Row
|
||||
import androidx.compose.foundation.layout.Spacer
|
||||
import androidx.compose.foundation.layout.fillMaxWidth
|
||||
@@ -152,7 +153,7 @@ fun ItemHeader(
|
||||
}
|
||||
|
||||
@Composable
|
||||
private fun ExpandingItemLocationContent(
|
||||
private fun ColumnScope.ExpandingItemLocationContent(
|
||||
overflowLocations: ImmutableList<VaultItemLocation>,
|
||||
) {
|
||||
var isExpanded by rememberSaveable { mutableStateOf(false) }
|
||||
|
||||
Reference in New Issue
Block a user