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

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