更新
This commit is contained in:
@@ -404,7 +404,8 @@ class _DeviceDataComponentWidgetState extends State<DeviceDataComponentWidget> {
|
||||
void _showRenameDialog() {
|
||||
personController.currentPersonId.value = widget.device['_id'];
|
||||
personController.name.value = "";
|
||||
showConfirmDialog(
|
||||
String text = "确定".tr;
|
||||
showSingleConfirmDialog(
|
||||
context,
|
||||
Padding(
|
||||
padding: EdgeInsetsDirectional.fromSTEB(0.rpx, 41.rpx, 0.rpx, 0),
|
||||
@@ -476,6 +477,7 @@ class _DeviceDataComponentWidgetState extends State<DeviceDataComponentWidget> {
|
||||
onCancel: () {
|
||||
print('用户点击了取消');
|
||||
},
|
||||
confirmText: text,
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user