delete highlightColor and reader slider icon button
This commit is contained in:
parent
e291bb36c7
commit
f5184af4ef
|
@ -38,7 +38,7 @@ Future<void> chooseReaderSliderPosition(BuildContext context) async {
|
|||
map[value] = key;
|
||||
});
|
||||
ReaderSliderPosition? result =
|
||||
await chooseMapDialog<ReaderSliderPosition>(context, map, "选择操控方式");
|
||||
await chooseMapDialog<ReaderSliderPosition>(context, map, "选择滑动条位置");
|
||||
if (result != null) {
|
||||
await method.saveProperty(_propertyName, result.toString());
|
||||
_readerSliderPosition = result;
|
||||
|
|
|
@ -102,7 +102,6 @@ class _PinkTheme extends _ThemePackage {
|
|||
),
|
||||
dividerColor: Colors.grey.shade200,
|
||||
primaryColor: Colors.pink.shade200,
|
||||
highlightColor: Colors.pink.shade200,
|
||||
textSelectionTheme: TextSelectionThemeData(
|
||||
cursorColor: Colors.pink.shade200,
|
||||
selectionColor: Colors.pink.shade300.withAlpha(150),
|
||||
|
@ -144,7 +143,6 @@ class _BlackTheme extends _ThemePackage {
|
|||
),
|
||||
dividerColor: Colors.grey.shade200,
|
||||
primaryColor: Colors.pink.shade200,
|
||||
highlightColor: Colors.pink.shade200,
|
||||
textSelectionTheme: TextSelectionThemeData(
|
||||
cursorColor: Colors.pink.shade200,
|
||||
selectionColor: Colors.pink.shade300.withAlpha(150),
|
||||
|
@ -185,7 +183,6 @@ class _DarkTheme extends _ThemePackage {
|
|||
backgroundColor: Colors.grey.shade900,
|
||||
),
|
||||
primaryColor: Colors.pink.shade200,
|
||||
highlightColor: Colors.pink.shade200,
|
||||
textSelectionTheme: TextSelectionThemeData(
|
||||
cursorColor: Colors.pink.shade200,
|
||||
selectionColor: Colors.pink.shade300.withAlpha(150),
|
||||
|
@ -233,7 +230,6 @@ class _DustyBlueTheme extends _ThemePackage {
|
|||
),
|
||||
dividerColor: Colors.grey.shade800,
|
||||
primaryColor: Colors.blue.shade200,
|
||||
highlightColor: Colors.blue.shade200,
|
||||
textSelectionTheme: TextSelectionThemeData(
|
||||
cursorColor: Colors.blue.shade200,
|
||||
selectionColor: Colors.blue.shade900,
|
||||
|
|
|
@ -650,7 +650,7 @@ abstract class _ImageReaderContentState extends State<_ImageReaderContent> {
|
|||
backgroundColor: Color(0xAA000000),
|
||||
builder: (context) {
|
||||
return Container(
|
||||
height: MediaQuery.of(context).size.height / 2,
|
||||
height: MediaQuery.of(context).size.height * (.45),
|
||||
child: _SettingPanel(
|
||||
widget.struct.onReloadEp,
|
||||
widget.struct.onDownload,
|
||||
|
@ -818,20 +818,6 @@ class _SettingPanelState extends State<_SettingPanel> {
|
|||
],
|
||||
),
|
||||
),
|
||||
Row(
|
||||
children: [
|
||||
_bottomIcon(
|
||||
icon: Icons.straighten_sharp,
|
||||
title: currentReaderSliderPositionName(),
|
||||
onPressed: () async {
|
||||
await chooseReaderSliderPosition(context);
|
||||
},
|
||||
),
|
||||
Expanded(child: Container()),
|
||||
Expanded(child: Container()),
|
||||
Expanded(child: Container()),
|
||||
],
|
||||
),
|
||||
],
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue