Skip to content

Commit

Permalink
Apply style formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
GitHub Actions committed Nov 8, 2024
1 parent 8d7f61f commit ef9bdc5
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ fun EpisodeDetailsScreen(
if (state.episode != null && !state.isLoading) {
TopBarMoreOptionsButton(
shareActionTitle = state.episode.title,
shareActionText = state.episode.episodeUrl
shareActionText = state.episode.episodeUrl,
)
}
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@ fun PodcastDetailsScreen(
colors = IconButtonDefaults.iconButtonColors(
containerColor = Color.Transparent,
contentColor = dominantColorState.onColor,
)
),
)
}
},
Expand Down
8 changes: 4 additions & 4 deletions app/src/main/kotlin/com/mr3y/podcaster/ui/utils/ShareSheet.kt
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ fun TopBarMoreOptionsButton(
shareActionTitle: String,
shareActionText: String,
modifier: Modifier = Modifier,
colors: IconButtonColors? = null
colors: IconButtonColors? = null,
) {
var showOptions by remember { mutableStateOf(false) }
var showShareSheet by remember { mutableStateOf(false) }
Expand All @@ -35,11 +35,11 @@ fun TopBarMoreOptionsButton(
IconButton(
onClick = { showOptions = !showOptions },
colors = colors ?: IconButtonDefaults.iconButtonColors(),
modifier = modifier
modifier = modifier,
) {
Icon(
imageVector = Icons.Filled.MoreVert,
contentDescription = strings.icon_more_options_content_description
contentDescription = strings.icon_more_options_content_description,
)
}

Expand All @@ -49,7 +49,7 @@ fun TopBarMoreOptionsButton(
) {
DropdownMenuItem(
text = { Text(strings.share_label) },
onClick = { showShareSheet = true }
onClick = { showShareSheet = true },
)
}

Expand Down

0 comments on commit ef9bdc5

Please sign in to comment.