mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-07-01 14:50:15 +08:00
@@ -29,6 +29,13 @@ List<SettingsModel> get playSettings => [
|
||||
setKey: SettingBoxKey.enableShowDanmaku,
|
||||
defaultVal: true,
|
||||
),
|
||||
const SettingsModel(
|
||||
settingsType: SettingsType.sw1tch,
|
||||
title: '启用点击弹幕',
|
||||
leading: Icon(Icons.touch_app_outlined),
|
||||
setKey: SettingBoxKey.enableTapDm,
|
||||
defaultVal: true,
|
||||
),
|
||||
SettingsModel(
|
||||
settingsType: SettingsType.normal,
|
||||
onTap: (setState) => Get.toNamed('/playSpeedSet'),
|
||||
|
||||
@@ -78,6 +78,7 @@ class HeaderControl extends StatefulWidget {
|
||||
);
|
||||
if (res.isSuccess) {
|
||||
extra.isLike = !extra.isLike;
|
||||
SmartDialog.showToast('点赞成功');
|
||||
return true;
|
||||
} else {
|
||||
res.toast();
|
||||
@@ -2011,7 +2012,7 @@ class HeaderControlState extends State<HeaderControl> {
|
||||
},
|
||||
icon: extra.isLike
|
||||
? const Icon(Icons.thumb_up_off_alt_sharp)
|
||||
: const Icon(Icons.thumb_up_off_alt_rounded),
|
||||
: const Icon(Icons.thumb_up_off_alt_outlined),
|
||||
),
|
||||
),
|
||||
if (item.content.selfSend)
|
||||
|
||||
Reference in New Issue
Block a user