The consent gate wrapped ConsentDialog in a second MaterialApp with no localizationsDelegates. That started a fresh Localizations scope without the AppLocalizations delegate, so context.l10n inside the dialog resolved to nothing and the consent screen rendered with no text. Render the consent screen as a plain Scaffold inside the app's existing MaterialApp, which already supplies both the theme and the localization delegates. Text now renders in all languages. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| l10n | ||
| models | ||
| services | ||
| state | ||
| theme | ||
| utils | ||
| widgets | ||
| app.dart | ||
| main.dart | ||