mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-06 09:13:48 +08:00
@@ -1,6 +1,7 @@
|
||||
import 'dart:io';
|
||||
import 'dart:math' show pi, max;
|
||||
|
||||
import 'package:PiliPlus/common/widgets/custom_icon.dart';
|
||||
import 'package:PiliPlus/common/widgets/image/custom_grid_view.dart'
|
||||
show CustomGridView, ImageModel;
|
||||
import 'package:PiliPlus/common/widgets/pendant_avatar.dart';
|
||||
@@ -243,7 +244,7 @@ List<SettingsModel> get extraSettings => [
|
||||
title: '弹幕行高',
|
||||
subtitle: '默认1.6',
|
||||
setKey: SettingBoxKey.danmakuLineHeight,
|
||||
leading: const Icon(Icons.subtitles_outlined),
|
||||
leading: const Icon(CustomIcons.dm_settings),
|
||||
getTrailing: () => Text(
|
||||
Pref.danmakuLineHeight.toString(),
|
||||
style: Get.theme.textTheme.titleSmall,
|
||||
|
||||
@@ -24,7 +24,7 @@ List<SettingsModel> get playSettings => [
|
||||
settingsType: SettingsType.sw1tch,
|
||||
title: '弹幕开关',
|
||||
subtitle: '是否展示弹幕',
|
||||
leading: Icon(CustomIcon.dm_settings),
|
||||
leading: Icon(CustomIcons.dm_settings),
|
||||
setKey: SettingBoxKey.enableShowDanmaku,
|
||||
defaultVal: true,
|
||||
),
|
||||
@@ -204,7 +204,7 @@ List<SettingsModel> get playSettings => [
|
||||
settingsType: SettingsType.sw1tch,
|
||||
title: '画中画不加载弹幕',
|
||||
subtitle: '当弹幕开关开启时,小窗屏蔽弹幕以获得较好的体验',
|
||||
leading: Icon(Icons.subtitles_off_outlined),
|
||||
leading: Icon(CustomIcons.dm_off),
|
||||
setKey: SettingBoxKey.pipNoDanmaku,
|
||||
defaultVal: false,
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user