Working on inkwells
This commit is contained in:
parent
06890afbd5
commit
e94faf0444
|
|
@ -325,14 +325,7 @@ void viewEntitiesByType({
|
||||||
}
|
}
|
||||||
|
|
||||||
if (action != null) {
|
if (action != null) {
|
||||||
if (kIsWeb && isNotMobile(context)) {
|
|
||||||
store.dispatch(StartLoading());
|
|
||||||
WidgetsBinding.instance.addPostFrameCallback((duration) {
|
|
||||||
store.dispatch(action);
|
store.dispatch(action);
|
||||||
});
|
|
||||||
} else {
|
|
||||||
store.dispatch(action);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -428,12 +428,14 @@ class _DrawerTileState extends State<DrawerTile> {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
Widget child = Container(
|
Widget child = Material(
|
||||||
|
color: Colors.transparent,
|
||||||
|
child: Container(
|
||||||
color: isSelected
|
color: isSelected
|
||||||
? convertHexStringToColor(enableDarkMode
|
? convertHexStringToColor(enableDarkMode
|
||||||
? kDefaultDarkSelectedColorMenu
|
? kDefaultDarkSelectedColorMenu
|
||||||
: kDefaultLightSelectedColorMenu)
|
: kDefaultLightSelectedColorMenu)
|
||||||
: null,
|
: Colors.transparent,
|
||||||
child: ListTile(
|
child: ListTile(
|
||||||
dense: true,
|
dense: true,
|
||||||
leading: Icon(
|
leading: Icon(
|
||||||
|
|
@ -470,6 +472,7 @@ class _DrawerTileState extends State<DrawerTile> {
|
||||||
*/
|
*/
|
||||||
trailing: trailingWidget,
|
trailing: trailingWidget,
|
||||||
),
|
),
|
||||||
|
),
|
||||||
);
|
);
|
||||||
|
|
||||||
if (state.prefState.isMenuCollapsed) {
|
if (state.prefState.isMenuCollapsed) {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue