feature switch chess icon on android: visible in debug/benchmark client only

This commit is contained in:
davotoula
2026-03-20 10:14:59 +01:00
parent 94cf31eb29
commit 05eb94915b
@@ -89,6 +89,7 @@ import coil3.compose.AsyncImage
import com.vitorpamplona.amethyst.BuildConfig import com.vitorpamplona.amethyst.BuildConfig
import com.vitorpamplona.amethyst.R import com.vitorpamplona.amethyst.R
import com.vitorpamplona.amethyst.commons.model.ImmutableListOfLists import com.vitorpamplona.amethyst.commons.model.ImmutableListOfLists
import com.vitorpamplona.amethyst.isDebug
import com.vitorpamplona.amethyst.model.Account import com.vitorpamplona.amethyst.model.Account
import com.vitorpamplona.amethyst.model.User import com.vitorpamplona.amethyst.model.User
import com.vitorpamplona.amethyst.service.relayClient.reqCommand.event.observeNote import com.vitorpamplona.amethyst.service.relayClient.reqCommand.event.observeNote
@@ -473,6 +474,7 @@ fun ListContent(
route = Route.Wallet, route = Route.Wallet,
) )
if (isDebug) {
NavigationRow( NavigationRow(
title = R.string.route_chess, title = R.string.route_chess,
icon = R.drawable.ic_chess, icon = R.drawable.ic_chess,
@@ -481,6 +483,7 @@ fun ListContent(
nav = nav, nav = nav,
route = Route.Chess, route = Route.Chess,
) )
}
NavigationRow( NavigationRow(
title = R.string.event_sync_title, title = R.string.event_sync_title,