import 'package:flutter/material.dart';
import 'package:recording_tool/features/recording/dialog/dialog-record.dart';

/// 推流录制结束后的后续操作弹窗。
Future<void> showRecordingSavedDialog(
  BuildContext context, {
  required String sessionTitle,
  required VoidCallback onContinueRound,
  required VoidCallback onRecordNewRound,
}) {
  return RecordDialog.showDouble(
    context,
    title: '本轮比赛视频已提交 NAS 录制\n请选择后续录制信息',
    leftText: '继续本轮',
    rightText: '录制新轮',
    onLeftPressed: onContinueRound,
    onRightPressed: onRecordNewRound,
    barrierDismissible: false,
  );
}
