Prepare Android release and refine bookshelf

This commit is contained in:
Hadrian Burkhardt
2026-11-15 16:20:17 +01:00
parent fc71accb38
commit 062c798fcc
15 changed files with 530 additions and 193 deletions
+40 -18
View File
@@ -98,27 +98,49 @@ class ShelfActivities extends StatelessWidget {
style: const TextStyle(fontFamily: 'sans-serif', fontSize: 15),
),
const SizedBox(height: 12),
Wrap(
spacing: 12,
runSpacing: 8,
children: [
FilledButton.icon(
key: const ValueKey('shelf-daily'),
onPressed: () => game.startDaily(DateTime.now()),
icon: Icon(
game.todaySolved ? Icons.check : Icons.wb_sunny_outlined,
),
label: CopyText(
game.todaySolved ? 'Revisit today’s puzzle' : 'Today’s puzzle',
SizedBox(
width: double.infinity,
child: FilledButton.icon(
key: const ValueKey('shelf-daily'),
onPressed: () => game.startDaily(DateTime.now()),
style: FilledButton.styleFrom(
minimumSize: const Size(0, 64),
padding: const EdgeInsets.symmetric(horizontal: 20, vertical: 16),
),
icon: Icon(
game.todaySolved ? Icons.check : Icons.wb_sunny_outlined,
size: 24,
),
label: CopyText(
game.todaySolved ? 'Revisit today’s puzzle' : 'Today’s puzzle',
style: const TextStyle(
fontFamily: 'sans-serif',
fontSize: 20,
fontWeight: FontWeight.w600,
),
),
OutlinedButton.icon(
key: const ValueKey('shelf-postcards'),
onPressed: onPostcards,
icon: const Icon(Icons.local_post_office_outlined),
label: const CopyText('Island postcards'),
),
),
const SizedBox(height: 12),
SizedBox(
width: double.infinity,
child: OutlinedButton.icon(
key: const ValueKey('shelf-postcards'),
onPressed: onPostcards,
style: OutlinedButton.styleFrom(
minimumSize: const Size(0, 64),
padding: const EdgeInsets.symmetric(horizontal: 20, vertical: 16),
),
],
icon: const Icon(Icons.local_post_office_outlined, size: 24),
label: const CopyText(
'Island postcards',
style: TextStyle(
fontFamily: 'sans-serif',
fontSize: 20,
fontWeight: FontWeight.w600,
),
),
),
),
const SizedBox(height: 8),
CopyText(