File tree 3 files changed +4
-29
lines changed
src/main/java/com/huhx/picker
3 files changed +4
-29
lines changed Original file line number Diff line number Diff line change @@ -100,9 +100,8 @@ signing {
100
100
101
101
dependencies {
102
102
implementation ' androidx.core:core-ktx:1.12.0'
103
- implementation ' androidx.appcompat:appcompat:1.6.1'
104
103
105
- implementation platform(" dev.chrisbanes.compose:compose-bom:2024.02.00-alpha01 " )
104
+ implementation platform(" dev.chrisbanes.compose:compose-bom:2024.02.00-alpha02 " )
106
105
implementation ' androidx.compose.material3:material3'
107
106
implementation " androidx.compose.ui:ui"
108
107
Original file line number Diff line number Diff line change @@ -83,13 +83,11 @@ fun AssetImageItem(
83
83
)
84
84
85
85
if (onDelete != null ) {
86
- Column (
87
- modifier = Modifier .align(Alignment .TopEnd )
88
- ) {
86
+ Column (modifier = Modifier .align(Alignment .TopEnd )) {
89
87
IconButton (
90
88
modifier = Modifier
91
89
.padding(top = 4 .dp, end = 4 .dp)
92
- .size(24 .dp),
90
+ .size(16 .dp),
93
91
onClick = onDelete,
94
92
) {
95
93
Icon (
@@ -102,9 +100,7 @@ fun AssetImageItem(
102
100
}
103
101
104
102
if (resourceType == AssetResourceType .VIDEO ) {
105
- Column (
106
- modifier = Modifier .align(Alignment .BottomEnd ),
107
- ) {
103
+ Column (modifier = Modifier .align(Alignment .BottomEnd )) {
108
104
Text (
109
105
modifier = Modifier .padding(bottom = 8 .dp, end = 8 .dp),
110
106
text = durationString ? : " 00:00" ,
Original file line number Diff line number Diff line change @@ -98,23 +98,3 @@ internal fun AssetSelectorScreen(
98
98
}
99
99
}
100
100
}
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