Live presenter annotations + keep styling out of saved .md #5

Merged
brenno merged 8 commits from feature/live-annotations-clean-md into main 2026-06-11 17:31:10 +00:00
Showing only changes of commit 47b2555dc5 - Show all commits

View file

@ -62,23 +62,18 @@ class _ConsentGate extends ConsumerWidget {
final consent = ref.watch(consentProvider); final consent = ref.watch(consentProvider);
if (consent.isLoading) { if (consent.isLoading) {
return Scaffold( return const Scaffold(
body: Center( body: Center(child: CircularProgressIndicator()),
child: const CircularProgressIndicator(),
),
); );
} }
if (!consent.hasAccepted) { if (!consent.hasAccepted) {
return MaterialApp( // Plain Scaffold inside the app's existing MaterialApp — that one already
title: 'OciDeck', // supplies the theme and the AppLocalizations delegate, so context.l10n
theme: ThemeData.light(), // resolves here. A nested MaterialApp would start a fresh Localizations
debugShowCheckedModeBanner: false, // scope without our delegate and the consent text would render blank.
home: Scaffold( return const Scaffold(
body: Center( body: Center(child: ConsentDialog()),
child: ConsentDialog(),
),
),
); );
} }