Adjust UI
This commit is contained in:
parent
51276b0907
commit
354841a175
|
|
@ -402,13 +402,7 @@ class _AppBottomBarState extends State<AppBottomBar> {
|
||||||
if (isDesktop(context))
|
if (isDesktop(context))
|
||||||
IconButton(
|
IconButton(
|
||||||
tooltip: localization.preview,
|
tooltip: localization.preview,
|
||||||
icon: Icon(
|
icon: Icon(Icons.chrome_reader_mode),
|
||||||
Icons.chrome_reader_mode,
|
|
||||||
color: prefState.isPreviewEnabled &&
|
|
||||||
!prefState.enableDarkMode
|
|
||||||
? state.accentColor
|
|
||||||
: null,
|
|
||||||
),
|
|
||||||
onPressed: () {
|
onPressed: () {
|
||||||
store.dispatch(UpdateUserPreferences(
|
store.dispatch(UpdateUserPreferences(
|
||||||
isPreviewEnabled:
|
isPreviewEnabled:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue