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": {
"allow": [
"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> {
@override
Widget build(BuildContext context) {
return Column(
children: [
// Header
Container(
padding: const EdgeInsets.fromLTRB(24, 24, 24, 16),
child: Column(
crossAxisAlignment: CrossAxisAlignment.start,
children: [
Row(
children: [
const Icon(Icons.videocam, color: Colors.white, size: 28),
const SizedBox(width: 12),
Text(
'Enregistrements',
style: GoogleFonts.outfit(
fontSize: 26,
fontWeight: FontWeight.bold,
color: Colors.white,
),
return Container(
color: Colors.black,
child: Column(
children: [
Container(
padding: const EdgeInsets.fromLTRB(24, 24, 24, 16),
color: Colors.grey[900],
child: const Row(
children: [
Icon(Icons.videocam, color: Colors.white, size: 28),
SizedBox(width: 12),
Text(
'Enregistrements',
style: TextStyle(
fontSize: 26,
fontWeight: FontWeight.bold,
color: Colors.white,
),
],
),
],
),
],
),
),
),
Expanded(
child: _RecordingsListView(playlist: widget.playlist),
),
],
Expanded(
child: _RecordingsListView(playlist: widget.playlist),
),
],
),
);
}
}