File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
app/src/main/java/com/bnyro/translate/ui/components Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change 1717
1818package com.bnyro.translate.ui.components
1919
20+ import androidx.compose.foundation.ExperimentalFoundationApi
2021import androidx.compose.foundation.combinedClickable
2122import androidx.compose.foundation.layout.Column
2223import androidx.compose.foundation.layout.Row
@@ -27,6 +28,7 @@ import androidx.compose.foundation.layout.width
2728import androidx.compose.foundation.shape.RoundedCornerShape
2829import androidx.compose.material.icons.Icons
2930import androidx.compose.material.icons.filled.ArrowUpward
31+ import androidx.compose.material3.ExperimentalMaterial3Api
3032import androidx.compose.material3.Icon
3133import androidx.compose.material3.Text
3234import androidx.compose.runtime.Composable
@@ -42,12 +44,12 @@ import androidx.compose.ui.unit.sp
4244import com.bnyro.translate.ext.formatHTML
4345
4446@Composable
47+ @OptIn(ExperimentalFoundationApi ::class )
4548fun AdditionalInfo (
4649 title : String ,
4750 text : String ,
4851 onClick : () -> Unit = {}
4952) {
50- val context = LocalContext .current
5153 val clipboard = LocalClipboardManager .current
5254
5355 Row (
You can’t perform that action at this time.
0 commit comments