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

Use "R" to reference icons #476

Merged
merged 1 commit into from
Aug 14, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import androidx.compose.runtime.Composable
import androidx.compose.ui.Modifier
import androidx.compose.ui.platform.testTag
import androidx.compose.ui.res.painterResource
import io.github.droidkaigi.confsched2023.feature.sessions.R.drawable
import io.github.droidkaigi.confsched2023.feature.sessions.R
import io.github.droidkaigi.confsched2023.sessions.SessionsStrings.Search
import io.github.droidkaigi.confsched2023.sessions.SessionsStrings.Timetable

Expand All @@ -34,7 +34,7 @@ fun TimetableTopArea(
TopAppBar(
title = {
Image(
painter = painterResource(id = drawable.icon_droidkaigi_logo),
painter = painterResource(id = R.drawable.icon_droidkaigi_logo),
contentDescription = null,
)
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import androidx.compose.runtime.Composable
import androidx.compose.ui.Modifier
import androidx.compose.ui.res.painterResource
import androidx.compose.ui.unit.dp
import io.github.droidkaigi.confsched2023.feature.sessions.R.drawable
import io.github.droidkaigi.confsched2023.feature.sessions.R

@Composable
fun TimetableHeader(modifier: Modifier = Modifier) {
Expand All @@ -33,7 +33,7 @@ fun TimetableHeader(modifier: Modifier = Modifier) {
}
Image(
modifier = Modifier.size(width = 212.dp, height = 168.dp),
painter = painterResource(id = drawable.img_droid_kun_in_bath),
painter = painterResource(id = R.drawable.img_droid_kun_in_bath),
contentDescription = null,
)
}
Expand Down
Loading