Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/546 apply the correct icon for floormap #620

Conversation

shinya-tan
Copy link
Contributor

Issue

Overview (Required)

  • update floor map icon

Links

Screenshot

Before After

@@ -84,40 +85,45 @@ fun MainScreen(
)
}

sealed class IconRepresentation {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Implement the selectedIcon of MainScreenTab to make it work with drawable.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

label = MainStrings.Timetable.asString(),
contentDescription = MainStrings.Timetable.asString(),
),
FloorMap(
icon = Icons.Outlined.Map,
selectedIcon = Icons.Filled.Map,
selectedIcon = IconRepresentation.Drawable(drawableId = R.drawable.icon_map_fill),
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since Icons.Filled.Map did not align with the Figma design, I added the map_fill SVG to display.

@github-actions
Copy link

Test Results

73 tests   73 ✔️  3m 16s ⏱️
  8 suites    0 💤
  8 files      0

Results for commit f2f9314.

@github-actions github-actions bot temporarily deployed to deploygate-distribution August 17, 2023 12:19 Inactive
Copy link
Member

@takahirom takahirom left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great! Thank you for finding the way to apply the icon!

@takahirom takahirom merged commit 2aa6325 into DroidKaigi:main Aug 17, 2023
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Apply the correct icon for floormap
2 participants