mirror of
https://github.com/Livinglist/Hacki.git
synced 2025-08-06 18:24:42 +08:00
fix reply box. (#288)
This commit is contained in:
@ -76,7 +76,8 @@ class _ReplyBoxState extends State<ReplyBox> with ItemActionMixin {
|
|||||||
duration: Durations.ms200,
|
duration: Durations.ms200,
|
||||||
decoration: BoxDecoration(
|
decoration: BoxDecoration(
|
||||||
boxShadow: <BoxShadow>[
|
boxShadow: <BoxShadow>[
|
||||||
if (!context.read<SplitViewCubit>().state.enabled)
|
if (!context.read<SplitViewCubit>().state.enabled &&
|
||||||
|
!Theme.of(context).useMaterial3)
|
||||||
BoxShadow(
|
BoxShadow(
|
||||||
color: expanded ? Palette.transparent : Palette.black26,
|
color: expanded ? Palette.transparent : Palette.black26,
|
||||||
blurRadius: Dimens.pt40,
|
blurRadius: Dimens.pt40,
|
||||||
@ -84,6 +85,9 @@ class _ReplyBoxState extends State<ReplyBox> with ItemActionMixin {
|
|||||||
],
|
],
|
||||||
),
|
),
|
||||||
child: Material(
|
child: Material(
|
||||||
|
color: Theme.of(context).useMaterial3
|
||||||
|
? Palette.transparent
|
||||||
|
: null,
|
||||||
child: Column(
|
child: Column(
|
||||||
mainAxisSize: MainAxisSize.min,
|
mainAxisSize: MainAxisSize.min,
|
||||||
children: <Widget>[
|
children: <Widget>[
|
||||||
|
Reference in New Issue
Block a user