Adjust UI

This commit is contained in:
Hillel Coren 2021-09-27 15:28:03 +03:00
parent e10a4efb3f
commit 5f0e453d80
2 changed files with 10 additions and 1 deletions

View File

@ -426,6 +426,10 @@ void viewEntityById({
store.dispatch(ClearPreviewStack()); store.dispatch(ClearPreviewStack());
} }
if (state.prefState.isDesktop && !state.prefState.isPreviewVisible) {
store.dispatch(TogglePreviewSidebar());
}
if (filterEntity != null && if (filterEntity != null &&
(uiState.filterEntityType != filterEntity.entityType || (uiState.filterEntityType != filterEntity.entityType ||
uiState.filterEntityId != filterEntity.id)) { uiState.filterEntityId != filterEntity.id)) {

View File

@ -694,7 +694,12 @@ class EntityScreens extends StatelessWidget {
child: Column( child: Column(
children: [ children: [
if (isFullScreen) topFilterChild, if (isFullScreen) topFilterChild,
Expanded(child: child), Expanded(
child: AppBorder(
child: child,
isTop: isFullScreen,
),
),
], ],
), ),
isLeft: true, isLeft: true,