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