Prepare Android release and refine bookshelf
This commit is contained in:
+40
-18
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user