add space button to center

This commit is contained in:
hannathkadher
2024-10-09 12:38:37 +04:00
parent 5ef614f1e1
commit 1255a44935

View File

@ -176,11 +176,11 @@ class SpaceManagementPageState extends State<SpaceManagementPage> {
), ),
spaces.isEmpty spaces.isEmpty
? AddSpaceButton( ? Center(child: AddSpaceButton(
onTap: () { onTap: () {
_showCreateSpaceDialog(screenSize); _showCreateSpaceDialog(screenSize);
}, },
) ))
: Stack( : Stack(
children: spaces children: spaces
.asMap() .asMap()