-
Notifications
You must be signed in to change notification settings - Fork 440
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
51 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
v1.7.8 | ||
- [x] ♻️ iOS可以使用FaceID进行解锁App | ||
- [x] ✨ 音量键快速翻阅下一章节(设置中开启) | ||
- [x] ✨ 音量键快速翻阅下一章节(设置中默认开启) | ||
- [x] ✨ 长按复制不需要确认(设置中默认关闭) | ||
|
||
v1.7.7 | ||
- [x] 🐛 修复一些极端情况下崩溃 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
import 'package:flutter/material.dart'; | ||
import '../Method.dart'; | ||
|
||
const _propertyName = "copySkipConfirm"; | ||
|
||
late bool _copySkipConfirm; | ||
|
||
Future initCopySkipConfirm() async { | ||
_copySkipConfirm = (await method.loadProperty(_propertyName, "false")) == "true"; | ||
} | ||
|
||
bool copySkipConfirm() { | ||
return _copySkipConfirm; | ||
} | ||
|
||
Widget copySkipConfirmSetting() { | ||
return StatefulBuilder( | ||
builder: (BuildContext context, void Function(void Function()) setState) { | ||
return SwitchListTile( | ||
title: const Text("长按复制不需要确认"), | ||
value: _copySkipConfirm, | ||
onChanged: (value) async { | ||
await method.saveProperty(_propertyName, "$value"); | ||
_copySkipConfirm = value; | ||
setState(() {}); | ||
}, | ||
); | ||
}, | ||
); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters