Skip to content

Commit

Permalink
bump version 0.3.1
Browse files Browse the repository at this point in the history
  • Loading branch information
orzogc committed Mar 21, 2023
1 parent 215b6dd commit 1f9105c
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 12 deletions.
4 changes: 2 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# 更新记录
## v0.3.1(未发布)
## v0.3.1
- 适配iOS
- 串页面右上角菜单列表增加“取消订阅”(#7)和“复制主串串号引用”
- 串页面右上角菜单列表增加“取消订阅”(#7、“添加主串标签”和“复制主串串号引用”
- 长按串显示的菜单列表删除“复制串号”,请用“复制串号引用”代替
- 可以设置Android系统底部导航栏颜色是否跟随应用主题(高级设置),默认不跟随
- 增加标签系统,长按串可以给串添加标签
Expand Down
11 changes: 6 additions & 5 deletions lib/app/modules/cookie.dart
Original file line number Diff line number Diff line change
Expand Up @@ -223,17 +223,18 @@ class _AddCookieForm extends StatelessWidget {
mainAxisSize: MainAxisSize.min,
children: [
TextFormField(
decoration: const InputDecoration(labelText: '名字'),
decoration: const InputDecoration(labelText: 'name'),
autofocus: true,
onSaved: (newValue) => name = newValue,
validator: (value) =>
(value == null || value.isEmpty) ? '请输入饼干名字' : null,
(value == null || value.isEmpty) ? '请输入name' : null,
),
TextFormField(
decoration: const InputDecoration(labelText: 'userhash'),
decoration: const InputDecoration(labelText: 'userhash/cookie'),
onSaved: (newValue) => userHash = newValue,
validator: (value) =>
(value == null || value.isEmpty) ? '请输入饼干userhash' : null,
validator: (value) => (value == null || value.isEmpty)
? '请输入userhash/cookie'
: null,
),
TextFormField(
decoration: const InputDecoration(labelText: '备注(可不填)'),
Expand Down
4 changes: 2 additions & 2 deletions lib/app/modules/scanner.dart
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,11 @@ class _ScanImage extends StatelessWidget {

@override
Widget build(BuildContext context) => IconButton(
tooltip: '加载图片',
tooltip: '扫描图片',
onPressed: () async {
if (GetPlatform.isIOS) {
await Get.dialog(ConfirmCancelDialog(
content: '扫描图片需要图片里只有二维码',
content: '扫描图片需要图片里只包含二维码且图片长宽与二维码基本相同',
confirmText: '加载图片',
onConfirm: () {
Get.back();
Expand Down
1 change: 0 additions & 1 deletion lib/app/widgets/buttons.dart
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,6 @@ class _SearchDialog extends StatelessWidget {
key: _formKey,
controller: textEditingController,
focusNode: focusNode,
autofocus: true,
onChanged: (value) => content = value,
onFieldSubmitted: (value) => onFieldSubmitted(),
onSaved: (newValue) => content = newValue,
Expand Down
2 changes: 1 addition & 1 deletion lib/app/widgets/dialog.dart
Original file line number Diff line number Diff line change
Expand Up @@ -967,7 +967,7 @@ class EditCookieDialog extends StatelessWidget {
children: [
TextFormField(
decoration: const InputDecoration(labelText: '备注'),
autofocus: true,
autofocus: !setColor,
initialValue: cookie.note,
onChanged: (value) => note = value,
),
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: xdnmb
description: An app for nmbxd.com.
publish_to: 'none'
version: 0.3.1-alpha+7
version: 0.3.1+8

environment:
sdk: ">=2.19.4 <3.0.0"
Expand Down

0 comments on commit 1f9105c

Please sign in to comment.