Corrección de errores
This commit is contained in:
@@ -42,7 +42,8 @@ class PantallaHistorial extends StatelessWidget {
|
||||
child: ListView.separated(
|
||||
padding: const EdgeInsets.fromLTRB(16, 12, 16, 24),
|
||||
itemCount: partidas.length + 1,
|
||||
separatorBuilder: (_, __) => const SizedBox(height: 12),
|
||||
separatorBuilder: (context, index) =>
|
||||
const SizedBox(height: 12),
|
||||
itemBuilder: (context, index) {
|
||||
if (index == 0) {
|
||||
return const ArteGameplayFarolero.historial(height: 132);
|
||||
|
||||
@@ -41,7 +41,6 @@ class _PantallaVotacionClienteState extends State<PantallaVotacionCliente> {
|
||||
ServicioNearby? _nearby;
|
||||
|
||||
List<JugadorInicioPartida> get _votantes => widget.jugadoresControlados;
|
||||
bool get _modoMultiVotante => _votantes.length > 1;
|
||||
bool get _votacionCompleta {
|
||||
if (_votantes.isEmpty) return _votosPorVotante.containsKey('_legacy');
|
||||
return _votantes.every((votante) => _votosPorVotante[votante.jugadorId] != null);
|
||||
|
||||
Reference in New Issue
Block a user