nuevas pantallas
This commit is contained in:
@@ -209,28 +209,30 @@ class _PantallaGestorHostState extends State<PantallaGestorHost> {
|
||||
child: Padding(
|
||||
padding: const EdgeInsets.all(16),
|
||||
child: Column(
|
||||
children: [
|
||||
_buildAvisoClientesDesconectados(context, nearby),
|
||||
_buildFaseIndicator(context, partida.fase, l10n),
|
||||
const SizedBox(height: 16),
|
||||
Expanded(
|
||||
child: _buildContenidoFase(
|
||||
children: [
|
||||
_buildAvisoClientesDesconectados(context, nearby),
|
||||
_buildFaseIndicator(context, partida.fase, l10n),
|
||||
const SizedBox(height: 8),
|
||||
const ArteGameplayFarolero.fase(height: 92),
|
||||
const SizedBox(height: 16),
|
||||
Expanded(
|
||||
child: _buildContenidoFase(
|
||||
context,
|
||||
partida.fase,
|
||||
l10n,
|
||||
todosListos,
|
||||
todosVotaron,
|
||||
),
|
||||
),
|
||||
const SizedBox(height: 16),
|
||||
_buildBotonAccion(
|
||||
context,
|
||||
partida.fase,
|
||||
l10n,
|
||||
todosListos,
|
||||
todosVotaron,
|
||||
),
|
||||
),
|
||||
const SizedBox(height: 16),
|
||||
_buildBotonAccion(
|
||||
context,
|
||||
partida.fase,
|
||||
l10n,
|
||||
todosListos,
|
||||
todosVotaron,
|
||||
),
|
||||
],
|
||||
],
|
||||
),
|
||||
),
|
||||
),
|
||||
@@ -703,8 +705,8 @@ class _PantallaGestorHostState extends State<PantallaGestorHost> {
|
||||
icon: const Icon(Icons.how_to_vote),
|
||||
label: Text(
|
||||
_hostYaVoto(context)
|
||||
? 'Votos del host registrados'
|
||||
: 'Votar por los jugadores de este móvil',
|
||||
? l10n.playersVoted
|
||||
: l10n.confirmVote,
|
||||
),
|
||||
),
|
||||
),
|
||||
@@ -1055,9 +1057,10 @@ class _PantallaGestorHostState extends State<PantallaGestorHost> {
|
||||
),
|
||||
child: Row(
|
||||
children: [
|
||||
Text(
|
||||
esHost ? 'Host' : 'Cliente',
|
||||
style: const TextStyle(fontSize: 18),
|
||||
Icon(
|
||||
esHost ? Icons.phone_android : Icons.devices,
|
||||
color: esHost ? TemaApp.colorDorado : TemaApp.colorNaranja,
|
||||
size: 22,
|
||||
),
|
||||
const SizedBox(width: 8),
|
||||
Expanded(child: Text(nombre)),
|
||||
@@ -1410,9 +1413,14 @@ class _PantallaRevelarPalabraHostState
|
||||
child: _manteniendo
|
||||
? Column(
|
||||
children: [
|
||||
Text(
|
||||
widget.esImpostor ? 'Impostor' : 'Ciudadano',
|
||||
style: const TextStyle(fontSize: 48),
|
||||
Icon(
|
||||
widget.esImpostor
|
||||
? Icons.theater_comedy
|
||||
: Icons.key,
|
||||
color: widget.esImpostor
|
||||
? TemaApp.colorAcento
|
||||
: TemaApp.colorVerde,
|
||||
size: 48,
|
||||
),
|
||||
const SizedBox(height: 16),
|
||||
Text(
|
||||
|
||||
Reference in New Issue
Block a user