fix(android): 工具栏整体缩小 60%,一排放下全部操作;统一称「安卓版」
- 触屏平台(安卓)工具栏缩放 0.6:按钮/图标/字号/间距与工具栏高度同步缩小, 并收紧默认 48dp 点按区域,修复顶部工具栏一行显示不全的问题 - 关于页 /「保存位置」/ 文件对话框:去掉「平板版」等叫法,统一为「安卓版」 - README / BUILD-NOTES:同步更名
This commit is contained in:
+9
-9
@@ -493,7 +493,7 @@ class _SaveLocationDialogState extends State<SaveLocationDialog> {
|
||||
),
|
||||
),
|
||||
const SizedBox(height: 10),
|
||||
Text('保存、导出、打开都使用该目录;位于平板「文件管理」可见的公共存储。',
|
||||
Text('保存、导出、打开都使用该目录;文件位于「文件管理」可见的公共目录。',
|
||||
style: TextStyle(color: t.dim, fontSize: 11, height: 1.5)),
|
||||
],
|
||||
),
|
||||
@@ -605,7 +605,7 @@ class _AndroidFileDialogState extends State<AndroidFileDialog> {
|
||||
Icon(Icons.folder_outlined, size: 15, color: t.accent),
|
||||
const SizedBox(width: 6),
|
||||
Expanded(
|
||||
child: Text('平板存储 / ${AndroidDocs.location()} /',
|
||||
child: Text('保存位置 / ${AndroidDocs.location()} /',
|
||||
maxLines: 1,
|
||||
overflow: TextOverflow.ellipsis,
|
||||
style: TextStyle(color: t.dim, fontSize: 11)),
|
||||
@@ -2087,7 +2087,7 @@ class HelpDialog extends StatelessWidget {
|
||||
}
|
||||
|
||||
/// 「关于」页:软件信息 + 平台 / 授权状态 + 官网入口;
|
||||
/// 桌面版追加授权指南(MAC 申请 .lic),平板版展示免授权与保存位置说明。
|
||||
/// Windows 版追加授权指南(MAC 申请 .lic),安卓版展示免授权与保存位置说明。
|
||||
Widget _about(BuildContext context, Tokens t) {
|
||||
final bool android = AndroidDocs.isAvailable;
|
||||
final LicenseInfo info = LicenseService.instance.info;
|
||||
@@ -2124,7 +2124,7 @@ class HelpDialog extends StatelessWidget {
|
||||
Text('时序图设计器 · Sequence Diagram Studio',
|
||||
style: TextStyle(color: t.text, fontSize: 15, fontWeight: FontWeight.w700)),
|
||||
const SizedBox(height: 4),
|
||||
Text('V1.0.2(${android ? 'Android 平板版' : 'Windows 桌面版'})',
|
||||
Text('V1.0.2(${android ? '安卓版' : 'Windows 版'})',
|
||||
style: TextStyle(color: t.dim, fontSize: 12)),
|
||||
],
|
||||
),
|
||||
@@ -2135,7 +2135,7 @@ class HelpDialog extends StatelessWidget {
|
||||
row('设计人', '呆头鹅'),
|
||||
row(
|
||||
'授权状态',
|
||||
android ? '已授权(平板版免授权)' : lic,
|
||||
android ? '已授权(安卓版免授权)' : lic,
|
||||
vc: (android || info.valid) ? t.ok : t.danger,
|
||||
),
|
||||
if (!android)
|
||||
@@ -2193,7 +2193,7 @@ class HelpDialog extends StatelessWidget {
|
||||
),
|
||||
)
|
||||
else
|
||||
// 平板版说明:免授权 + 保存位置 + 反馈方式。
|
||||
// 安卓版说明:免授权 + 保存位置 + 反馈方式。
|
||||
Container(
|
||||
padding: const EdgeInsets.all(12),
|
||||
decoration: BoxDecoration(
|
||||
@@ -2206,14 +2206,14 @@ class HelpDialog extends StatelessWidget {
|
||||
children: <Widget>[
|
||||
Row(
|
||||
children: <Widget>[
|
||||
Icon(Icons.tablet_android, size: 16, color: t.accent),
|
||||
Icon(Icons.android, size: 16, color: t.accent),
|
||||
const SizedBox(width: 6),
|
||||
Text('平板版说明', style: TextStyle(color: t.accent, fontSize: 12.5, fontWeight: FontWeight.w600)),
|
||||
Text('安卓版说明', style: TextStyle(color: t.accent, fontSize: 12.5, fontWeight: FontWeight.w600)),
|
||||
],
|
||||
),
|
||||
const SizedBox(height: 8),
|
||||
guideLine('本版面向应用商店分发,无需授权,全部功能可用。'),
|
||||
guideLine('保存 / 导出文件位于平板「文件管理」可见的公共目录(默认 Documents/SequenceDiagram,'
|
||||
guideLine('保存 / 导出文件位于「文件管理」可见的公共目录(默认 Documents/SequenceDiagram,'
|
||||
'可在保存对话框中更改位置)。'),
|
||||
guideLine('帮助与反馈:官网 sincos.cc 或邮箱 liuyu65@126.com。'),
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user