chore
This commit is contained in:
@@ -700,7 +700,7 @@ class _PixelPerfectBluetoothDialogState
|
|||||||
Widget build(BuildContext context) {
|
Widget build(BuildContext context) {
|
||||||
final isConnected = widget.bleService.isConnected;
|
final isConnected = widget.bleService.isConnected;
|
||||||
return AlertDialog(
|
return AlertDialog(
|
||||||
title: Text(widget.rtlTcpEnabled ? 'RTL-TCP 模式' : '蓝牙设备'),
|
title: Text(widget.rtlTcpEnabled ? 'RTL-TCP 服务器' : '蓝牙设备'),
|
||||||
content: SizedBox(
|
content: SizedBox(
|
||||||
width: double.maxFinite,
|
width: double.maxFinite,
|
||||||
child: SingleChildScrollView(
|
child: SingleChildScrollView(
|
||||||
|
|||||||
@@ -73,7 +73,7 @@ class _SettingsScreenState extends State<SettingsScreen> {
|
|||||||
Icon(Icons.wifi,
|
Icon(Icons.wifi,
|
||||||
color: Theme.of(context).colorScheme.primary),
|
color: Theme.of(context).colorScheme.primary),
|
||||||
const SizedBox(width: 12),
|
const SizedBox(width: 12),
|
||||||
Text('RTL-TCP 接收', style: AppTheme.titleMedium),
|
Text('RTL-TCP 源', style: AppTheme.titleMedium),
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
const SizedBox(height: 16),
|
const SizedBox(height: 16),
|
||||||
@@ -83,7 +83,7 @@ class _SettingsScreenState extends State<SettingsScreen> {
|
|||||||
Column(
|
Column(
|
||||||
crossAxisAlignment: CrossAxisAlignment.start,
|
crossAxisAlignment: CrossAxisAlignment.start,
|
||||||
children: [
|
children: [
|
||||||
Text('启用RTL-TCP接收', style: AppTheme.bodyLarge),
|
Text('启用 RTL-TCP 源', style: AppTheme.bodyLarge),
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
Switch(
|
Switch(
|
||||||
@@ -280,7 +280,7 @@ class _SettingsScreenState extends State<SettingsScreen> {
|
|||||||
TextField(
|
TextField(
|
||||||
controller: _deviceNameController,
|
controller: _deviceNameController,
|
||||||
decoration: InputDecoration(
|
decoration: InputDecoration(
|
||||||
labelText: '设备名称 (用于自动连接)',
|
labelText: '设备名称',
|
||||||
hintText: '输入设备名称',
|
hintText: '输入设备名称',
|
||||||
labelStyle: const TextStyle(color: Colors.white70),
|
labelStyle: const TextStyle(color: Colors.white70),
|
||||||
hintStyle: const TextStyle(color: Colors.white54),
|
hintStyle: const TextStyle(color: Colors.white54),
|
||||||
@@ -637,7 +637,7 @@ class _SettingsScreenState extends State<SettingsScreen> {
|
|||||||
_buildActionButton(
|
_buildActionButton(
|
||||||
icon: Icons.file_download,
|
icon: Icons.file_download,
|
||||||
title: '导入数据',
|
title: '导入数据',
|
||||||
subtitle: '从JSON文件导入记录和设置',
|
subtitle: '从 JSON 文件导入记录和设置',
|
||||||
onTap: _importData,
|
onTap: _importData,
|
||||||
),
|
),
|
||||||
const SizedBox(height: 12),
|
const SizedBox(height: 12),
|
||||||
|
|||||||
Reference in New Issue
Block a user