File tree Expand file tree Collapse file tree 3 files changed +4
-29
lines changed
src/main/java/com/huhx/picker Expand file tree Collapse file tree 3 files changed +4
-29
lines changed Original file line number Diff line number Diff line change @@ -100,9 +100,8 @@ signing {
100100
101101dependencies {
102102 implementation ' androidx.core:core-ktx:1.12.0'
103- implementation ' androidx.appcompat:appcompat:1.6.1'
104103
105- implementation platform(" dev.chrisbanes.compose:compose-bom:2024.02.00-alpha01 " )
104+ implementation platform(" dev.chrisbanes.compose:compose-bom:2024.02.00-alpha02 " )
106105 implementation ' androidx.compose.material3:material3'
107106 implementation " androidx.compose.ui:ui"
108107
Original file line number Diff line number Diff line change @@ -83,13 +83,11 @@ fun AssetImageItem(
8383 )
8484
8585 if (onDelete != null ) {
86- Column (
87- modifier = Modifier .align(Alignment .TopEnd )
88- ) {
86+ Column (modifier = Modifier .align(Alignment .TopEnd )) {
8987 IconButton (
9088 modifier = Modifier
9189 .padding(top = 4 .dp, end = 4 .dp)
92- .size(24 .dp),
90+ .size(16 .dp),
9391 onClick = onDelete,
9492 ) {
9593 Icon (
@@ -102,9 +100,7 @@ fun AssetImageItem(
102100 }
103101
104102 if (resourceType == AssetResourceType .VIDEO ) {
105- Column (
106- modifier = Modifier .align(Alignment .BottomEnd ),
107- ) {
103+ Column (modifier = Modifier .align(Alignment .BottomEnd )) {
108104 Text (
109105 modifier = Modifier .padding(bottom = 8 .dp, end = 8 .dp),
110106 text = durationString ? : " 00:00" ,
Original file line number Diff line number Diff line change @@ -98,23 +98,3 @@ internal fun AssetSelectorScreen(
9898 }
9999 }
100100}
101-
102- @Composable
103- @OptIn(ExperimentalMaterial3Api ::class )
104- private fun DirectoryTopAppBar (directory : String , navigateUp : () -> Unit ) {
105- CenterAlignedTopAppBar (
106- modifier = Modifier .statusBarsPadding(),
107- navigationIcon = {
108- IconButton (onClick = navigateUp) {
109- Icon (Icons .Filled .Close , contentDescription = " " )
110- }
111- },
112- title = {
113- Row (modifier = Modifier .clickable(onClick = navigateUp)) {
114- Text (directory, fontSize = 18 .sp)
115- Icon (Icons .Default .KeyboardArrowUp , contentDescription = " " )
116- }
117- }
118- )
119- }
120-
You can’t perform that action at this time.
0 commit comments