Implement desktop client layout

This commit is contained in:
Hillel Coren 2022-05-31 19:26:00 +03:00
parent afd2bd6ca1
commit 73ba91decd
1 changed files with 3 additions and 1 deletions

View File

@ -1,4 +1,6 @@
// Flutter imports:
import 'dart:ui';
import 'package:flutter/material.dart';
// Package imports:
@ -55,7 +57,7 @@ class ViewScaffold extends StatelessWidget {
if (isDesktop(context)) {
if (isFilter == true &&
entity.entityType == state.uiState.filterEntityType) {
if (state.uiState.filterStack.length > 1) {
if (state.uiState.filterStack.length > 1 && !isFilter) {
leading = IconButton(
icon: Icon(Icons.arrow_back),
onPressed: () => store.dispatch(PopFilterStack()),