remove game IDs from titles

nvuiRefactor
Thibault Duplessis 2019-01-23 10:37:38 +08:00
parent 90acee156b
commit 9de67e789f
2 changed files with 2 additions and 2 deletions

View File

@ -29,7 +29,7 @@ object player {
}
bits.layout(
title = s"${trans.play.txt()} ${if (ctx.pref.isZen) "ZEN" else playerText(pov.opponent)} in ${pov.gameId}",
title = s"${trans.play.txt()} ${if (ctx.pref.isZen) "ZEN" else playerText(pov.opponent)}",
side = game.side(pov, (data \ "game" \ "initialFen").asOpt[String].map(chess.format.FEN), tour.map(_.tour), simul, bookmarked = bookmarked),
chat = chatOption.map(_ => chat.frag),
underchat = Some(bits underchat pov.game),

View File

@ -28,7 +28,7 @@ object watcher {
}
bits.layout(
title = s"${gameVsText(pov.game, withRatings = true)} in ${pov.gameId}",
title = gameVsText(pov.game, withRatings = true),
side = game.side(pov, (data \ "game" \ "initialFen").asOpt[String].map(chess.format.FEN), tour.map(_.tour), simul = simul, userTv = userTv, bookmarked = bookmarked),
chat = chat.frag.some,
underchat = Some(bits underchat pov.game),