fix: simplify RecordingsTab to fix null check operator error

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
This commit is contained in:
MichaelandClaude Haiku 4.5 committed 2026-04-01 20:45:48 +02:00
1 parent 2d25cff43c
commit 6efdadd6fd
2 files changed
+30 -28

No files matched your search

+5 -1
View File
@@ -2,7 +2,11 @@
"permissions": { "permissions": {
"allow": [ "allow": [
"Bash(dart analyze:*)", "Bash(dart analyze:*)",
"Bash(git checkout:*)" "Bash(git checkout:*)",
"Bash(git commit -m 'fix: restore RecordingsTab to working version without tab complexity:*)",
"Bash(git push:*)",
"Bash(git add:*)",
"Bash(git commit -m 'fix: simplify RecordingsTab to fix null check operator error:*)"
] ]
} }
} }
+25 -27
View File
@@ -24,35 +24,33 @@ class RecordingsTab extends StatefulWidget {
class _RecordingsTabState extends State<RecordingsTab> { class _RecordingsTabState extends State<RecordingsTab> {
@override @override
Widget build(BuildContext context) { Widget build(BuildContext context) {
return Column( return Container(
children: [ color: Colors.black,
// Header child: Column(
Container( children: [
padding: const EdgeInsets.fromLTRB(24, 24, 24, 16), Container(
child: Column( padding: const EdgeInsets.fromLTRB(24, 24, 24, 16),
crossAxisAlignment: CrossAxisAlignment.start, color: Colors.grey[900],
children: [ child: const Row(
Row( children: [
children: [ Icon(Icons.videocam, color: Colors.white, size: 28),
const Icon(Icons.videocam, color: Colors.white, size: 28), SizedBox(width: 12),
const SizedBox(width: 12), Text(
Text( 'Enregistrements',
'Enregistrements', style: TextStyle(
style: GoogleFonts.outfit( fontSize: 26,
fontSize: 26, fontWeight: FontWeight.bold,
fontWeight: FontWeight.bold, color: Colors.white,
color: Colors.white,
),
), ),
], ),
), ],
], ),
), ),
), Expanded(
Expanded( child: _RecordingsListView(playlist: widget.playlist),
child: _RecordingsListView(playlist: widget.playlist), ),
), ],
], ),
); );
} }
} }