Atulização do quiz | Porcentagem na base de dados | Telas de Contrato com o usuario
This commit is contained in:
@@ -143,9 +143,7 @@ class _LoggedHomeScreenState extends State<LoggedHomeScreen>
|
||||
await prefs.remove(_kPendingQuizScopeKey);
|
||||
if (!mounted) return;
|
||||
|
||||
await Navigator.of(context).push(
|
||||
MaterialPageRoute<void>(builder: (_) => Quiz1Screen(scopeId: scopeId)),
|
||||
);
|
||||
await Navigator.of(context).push(quizStartRoute(scopeId: scopeId));
|
||||
if (!mounted) return;
|
||||
await _loadQuizResult();
|
||||
} catch (_) {
|
||||
@@ -721,9 +719,7 @@ class _InicioTab extends StatelessWidget {
|
||||
final state = context.findAncestorStateOfType<_LoggedHomeScreenState>();
|
||||
state?.selectChild(childName, scopeId);
|
||||
|
||||
await Navigator.of(context).push(
|
||||
MaterialPageRoute<void>(builder: (_) => Quiz1Screen(scopeId: scopeId)),
|
||||
);
|
||||
await Navigator.of(context).push(quizStartRoute(scopeId: scopeId));
|
||||
onQuizClosed();
|
||||
}
|
||||
|
||||
@@ -1310,7 +1306,7 @@ class _HeroQuizCard extends StatelessWidget {
|
||||
),
|
||||
const SizedBox(height: 5),
|
||||
Text(
|
||||
'23 perguntas rápidas · menos de 3 minutos',
|
||||
'26 perguntas rápidas · menos de 3 minutos',
|
||||
style: TextStyle(
|
||||
color: Colors.white.withValues(alpha: 0.92),
|
||||
fontWeight: FontWeight.w600,
|
||||
|
||||
Reference in New Issue
Block a user