mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2024-08-30 18:12:39 +00:00
chore: fix ungroupedsection being shown (#3953)
* chore: fix ungroupedsection being shown * chore: board ui adjustment
This commit is contained in:
parent
31e9a0b4ea
commit
729b8571b5
@ -278,7 +278,8 @@ class BoardBloc extends Bloc<BoardEvent, BoardState> {
|
||||
.where(
|
||||
(group) =>
|
||||
fieldController.getField(group.fieldId) != null &&
|
||||
(group.isVisible || (group.isDefault && !hideUngrouped)),
|
||||
((!group.isDefault && group.isVisible) ||
|
||||
(group.isDefault && !hideUngrouped)),
|
||||
)
|
||||
.map((group) => _initializeGroupData(group))
|
||||
.toList(),
|
||||
|
@ -53,7 +53,7 @@ class HiddenGroupsColumn extends StatelessWidget {
|
||||
),
|
||||
)
|
||||
: SizedBox(
|
||||
width: 260,
|
||||
width: 234,
|
||||
child: Column(
|
||||
crossAxisAlignment: CrossAxisAlignment.start,
|
||||
children: [
|
||||
@ -62,7 +62,7 @@ class HiddenGroupsColumn extends StatelessWidget {
|
||||
child: Padding(
|
||||
padding: EdgeInsets.only(
|
||||
left: 40 + margin.left,
|
||||
right: margin.right,
|
||||
right: margin.right + 4,
|
||||
),
|
||||
child: Row(
|
||||
children: [
|
||||
@ -99,6 +99,7 @@ class HiddenGroupsColumn extends StatelessWidget {
|
||||
message: isCollapsed
|
||||
? LocaleKeys.board_hiddenGroupSection_expandTooltip.tr()
|
||||
: LocaleKeys.board_hiddenGroupSection_collapseTooltip.tr(),
|
||||
preferBelow: false,
|
||||
child: FlowyIconButton(
|
||||
width: 20,
|
||||
height: 20,
|
||||
@ -252,7 +253,7 @@ class HiddenGroupButtonContent extends StatelessWidget {
|
||||
}
|
||||
|
||||
return SizedBox(
|
||||
height: 30,
|
||||
height: 32,
|
||||
child: Padding(
|
||||
padding: const EdgeInsets.symmetric(
|
||||
horizontal: 4,
|
||||
|
Loading…
Reference in New Issue
Block a user