mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-04-22 11:41:09 +08:00
opt: more linter (#1765)
* opt: more linter * fix [skip ci] Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me> --------- Co-authored-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
committed by
GitHub
parent
3787f99d35
commit
773bdafec3
@@ -115,7 +115,7 @@ SettingsModel getBanwordModel({
|
||||
),
|
||||
TextButton(
|
||||
child: const Text('保存'),
|
||||
onPressed: () async {
|
||||
onPressed: () {
|
||||
Get.back();
|
||||
setState();
|
||||
onChanged(RegExp(banWord, caseSensitive: false));
|
||||
|
||||
@@ -21,9 +21,7 @@ class _RecommendSettingState extends State<RecommendSetting> {
|
||||
final theme = Theme.of(context);
|
||||
return Scaffold(
|
||||
resizeToAvoidBottomInset: false,
|
||||
appBar: widget.showAppBar == false
|
||||
? null
|
||||
: AppBar(title: const Text('推荐流设置')),
|
||||
appBar: widget.showAppBar ? AppBar(title: const Text('推荐流设置')) : null,
|
||||
body: ListView(
|
||||
padding: EdgeInsets.only(
|
||||
left: showAppBar ? padding.left : 0,
|
||||
|
||||
Reference in New Issue
Block a user