File tree Expand file tree Collapse file tree
ChessAndroid/wearos/src/main/java/net/theluckycoder/chess/wearos/ui/screen Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -28,7 +28,6 @@ import androidx.compose.ui.Alignment
2828import androidx.compose.ui.Modifier
2929import androidx.compose.ui.res.painterResource
3030import androidx.compose.ui.res.stringResource
31- import androidx.compose.ui.tooling.preview.PreviewParameter
3231import androidx.compose.ui.unit.dp
3332import androidx.lifecycle.viewmodel.compose.viewModel
3433import androidx.wear.compose.material.Button
@@ -179,7 +178,6 @@ private fun WatchChessBoard(
179178 PromotionDialog (showPromotionDialog)
180179}
181180
182- @PreviewParameter
183181@Composable
184182private fun PromotionDialog (showPromotionDialog : MutableState <List <Move >>) {
185183 val promotionResources = remember {
@@ -195,7 +193,7 @@ private fun PromotionDialog(showPromotionDialog: MutableState<List<Move>>) {
195193 Text (stringResource(id = R .string.promotion_choose_piece))
196194 },
197195 ) {
198- TODO ()
196+ // TODO()
199197 piecesPainters.forEachIndexed { index, painter ->
200198 Button (
201199 colors = ButtonDefaults .secondaryButtonColors(),
You can’t perform that action at this time.
0 commit comments