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
+14 -12

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:*)"
] ]
} }
} }
+9 -11
View File
@@ -24,21 +24,20 @@ 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(
color: Colors.black,
child: Column(
children: [ children: [
// Header
Container( Container(
padding: const EdgeInsets.fromLTRB(24, 24, 24, 16), padding: const EdgeInsets.fromLTRB(24, 24, 24, 16),
child: Column( color: Colors.grey[900],
crossAxisAlignment: CrossAxisAlignment.start, child: const Row(
children: [ children: [
Row( Icon(Icons.videocam, color: Colors.white, size: 28),
children: [ SizedBox(width: 12),
const Icon(Icons.videocam, color: Colors.white, size: 28),
const SizedBox(width: 12),
Text( Text(
'Enregistrements', 'Enregistrements',
style: GoogleFonts.outfit( style: TextStyle(
fontSize: 26, fontSize: 26,
fontWeight: FontWeight.bold, fontWeight: FontWeight.bold,
color: Colors.white, color: Colors.white,
@@ -46,13 +45,12 @@ class _RecordingsTabState extends State<RecordingsTab> {
), ),
], ],
), ),
],
),
), ),
Expanded( Expanded(
child: _RecordingsListView(playlist: widget.playlist), child: _RecordingsListView(playlist: widget.playlist),
), ),
], ],
),
); );
} }
} }