Skip to content

Commit

Permalink
Merge pull request #75 from TheTeamPotato/task/refactor-code-before-i…
Browse files Browse the repository at this point in the history
…nitial-release

Close #70 - Remove unused UI part
  • Loading branch information
isoguzay authored Mar 21, 2022
2 parents 78e13b6 + 2198b3a commit 7fab334
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ fun InfoTip(modifier: Modifier = Modifier, origin: String, translated: String) {
}

@Composable
fun ListenableInfoTip(modifier: Modifier = Modifier, origin: String, translated: String, onListenClicked: () -> Unit) {
fun ListenableInfoTip(modifier: Modifier = Modifier, origin: String, onListenClicked: () -> Unit) {
val sizeInDp = 35.dp

Column(modifier) {
Expand All @@ -49,11 +49,6 @@ fun ListenableInfoTip(modifier: Modifier = Modifier, origin: String, translated:
}
Column {
Text(text = origin, fontSize = 21.sp)
Text(
text = translated,
fontSize = 16.sp,
color = MaterialTheme.colors.secondaryVariant
)
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,6 @@ private fun ContentCard(modifier: Modifier = Modifier, imageURL: String, transla
.padding(bottom = 24.dp)
.padding(horizontal = horizontalPaddingInDp),
origin = translatedText,
translated = "Cümle",
onListenClicked = onListenClicked
)
}
Expand Down

0 comments on commit 7fab334

Please sign in to comment.