Skip to content

Commit

Permalink
Uses Horologit button
Browse files Browse the repository at this point in the history
  • Loading branch information
kul3r4 committed Apr 9, 2024
1 parent 0971889 commit f91ea97
Showing 1 changed file with 4 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ import androidx.compose.ui.text.style.TextAlign
import androidx.compose.ui.unit.dp
import androidx.lifecycle.compose.collectAsStateWithLifecycle
import androidx.wear.compose.foundation.lazy.rememberScalingLazyListState
import androidx.wear.compose.material.Button
import androidx.wear.compose.material.ButtonDefaults
import androidx.wear.compose.material.Icon
import androidx.wear.compose.material.MaterialTheme
Expand All @@ -41,6 +40,7 @@ import com.google.android.horologist.compose.layout.ScalingLazyColumnState
import com.google.android.horologist.media.ui.screens.playlists.PlaylistsScreen
import com.google.android.horologist.media.ui.screens.playlists.PlaylistsScreenState
import com.google.android.horologist.media.ui.state.model.PlaylistUiModel
import com.google.android.horologist.compose.material.Button
import com.google.android.horologist.mediasample.R

@Composable
Expand Down Expand Up @@ -99,13 +99,9 @@ fun UampPlaylistsScreen(
Button(
onClick = onErrorDialogCancelClick,
colors = ButtonDefaults.secondaryButtonColors(),
) {
Icon(
imageVector = Icons.Default.Close,
contentDescription = stringResource(
id = R.string.playlists_failed_dialog_cancel_button_content_description,
),
modifier = Modifier
imageVector = Icons.Default.Close,
contentDescription = stringResource(id = R.string.playlists_failed_dialog_cancel_button_content_description,),
modifier = Modifier
.size(24.dp)
.wrapContentSize(align = Alignment.Center),
)
Expand Down

0 comments on commit f91ea97

Please sign in to comment.