mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-04-29 06:45:54 +08:00
add split settings model
Signed-off-by: dom <githubaccount56556@proton.me>
This commit is contained in:
@@ -82,14 +82,18 @@ List<SettingsModel> get styleSettings => [
|
||||
defaultVal: false,
|
||||
needReboot: true,
|
||||
),
|
||||
SwitchModel(
|
||||
title: 'App字体字重',
|
||||
subtitle: '点击设置',
|
||||
setKey: SettingBoxKey.appFontWeight,
|
||||
defaultVal: false,
|
||||
leading: const Icon(Icons.text_fields),
|
||||
onChanged: (_) => Get.updateMyAppTheme(),
|
||||
onTap: _showFontWeightDialog,
|
||||
SplitModel(
|
||||
normalModel: const NormalModel.split(
|
||||
title: 'App字体字重',
|
||||
subtitle: '点击设置',
|
||||
leading: Icon(Icons.text_fields),
|
||||
),
|
||||
switchModel: SwitchModel.split(
|
||||
defaultVal: false,
|
||||
setKey: SettingBoxKey.appFontWeight,
|
||||
onChanged: (_) => Get.updateMyAppTheme(),
|
||||
onTap: _showFontWeightDialog,
|
||||
),
|
||||
),
|
||||
NormalModel(
|
||||
title: '界面缩放',
|
||||
|
||||
Reference in New Issue
Block a user