feat: bandwidth limit modal on stream 500

This commit is contained in:
edde746
2026-04-17 13:12:07 +02:00
parent f8132e7bdb
commit 1e62c6c756
41 changed files with 265 additions and 50 deletions
@@ -522,6 +522,19 @@ class _VideoSettingsSheetState extends State<VideoSettingsSheet> {
OverlaySheetController.of(context).close();
},
),
if (kDebugMode)
FocusableListTile(
leading: AppIcon(Symbols.bug_report_rounded, fill: 1, color: tokens(context).textMuted),
title: const Text('Simulate HTTP 500 from server'),
onTap: () {
final player = widget.player;
OverlaySheetController.of(context).close();
if (player is PlayerBase) {
player.debugSimulateServer500();
}
},
),
],
);
}