1.录像页面,根据个人赛和团队赛 动态 录像页标题
2.录像结束弹窗按钮文本修改
This commit is contained in:
@@ -9,6 +9,11 @@ class RecordingContext {
|
||||
required this.playerPhone,
|
||||
this.laneNo,
|
||||
this.status,
|
||||
this.isTeam = false,
|
||||
|
||||
/// 对方队长
|
||||
this.opponentName = '',
|
||||
this.teamLeaderName = '',
|
||||
});
|
||||
|
||||
const RecordingContext.empty()
|
||||
@@ -20,7 +25,10 @@ class RecordingContext {
|
||||
playerName = '',
|
||||
playerPhone = '',
|
||||
laneNo = null,
|
||||
status = null;
|
||||
status = null,
|
||||
isTeam = false,
|
||||
opponentName = '',
|
||||
teamLeaderName = '';
|
||||
|
||||
final String eventTitle;
|
||||
final String matchName;
|
||||
@@ -31,8 +39,12 @@ class RecordingContext {
|
||||
final String playerPhone;
|
||||
final String? laneNo;
|
||||
final String? status;
|
||||
final bool isTeam;
|
||||
final String opponentName;
|
||||
final String teamLeaderName;
|
||||
|
||||
String get title => '$matchName $group';
|
||||
String get title =>
|
||||
isTeam ? '$teamLeaderName 队伍 vs $opponentName 队伍' : '$playerName $group';
|
||||
|
||||
String get address => venue;
|
||||
|
||||
|
||||
@@ -11,8 +11,8 @@ Future<void> showRecordingSavedDialog(
|
||||
return RecordDialog.showDouble(
|
||||
context,
|
||||
title: '本轮比赛视频已保存\n请选择后续录制信息',
|
||||
leftText: '继续本轮',
|
||||
rightText: '录制新轮',
|
||||
leftText: '继当前选手',
|
||||
rightText: '录新选手',
|
||||
onLeftPressed: onContinueRound,
|
||||
onRightPressed: onRecordNewRound,
|
||||
barrierDismissible: false,
|
||||
|
||||
Reference in New Issue
Block a user