Skip to content

Commit

Permalink
fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
secondsun committed Jul 20, 2023
1 parent fa12992 commit aff9d75
Showing 1 changed file with 2 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -767,13 +767,12 @@ object GlanceTheming {

// ...
Image(
// ...
colorFilter = ColorFilter.tint(GlanceTheme.colors.secondary),
// [START_EXCLUDE]
contentDescription = "Example Image",
provider = ImageProvider(R.drawable.ic_logo)
// [END_EXCLUDE]
// ...

)
}
// [END android_compose_glance_glancetheming01]
Expand Down Expand Up @@ -810,9 +809,8 @@ object GlanceTheming {

@Composable
private fun MyContent() {
// ...

Image(
// ...
colorFilter = ColorFilter.tint(GlanceTheme.colors.secondary),
// [START_EXCLUDE]
provider = ImageProvider(R.drawable.ic_logo),
Expand All @@ -834,7 +832,6 @@ object GlanceTheming {

// [START android_compose_glance_glancetheming03]
override suspend fun provideGlance(context: Context, id: GlanceId) {
// ...

provideContent {
GlanceTheme(
Expand All @@ -852,7 +849,6 @@ object GlanceTheming {
private fun MyContent() {
// ...
Image(
// ...
colorFilter = ColorFilter.tint(GlanceTheme.colors.secondary),
// [START_EXCLUDE]
provider = ImageProvider(R.drawable.ic_logo),
Expand Down

0 comments on commit aff9d75

Please sign in to comment.