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
? AddSpaceButton(
? Center(child: AddSpaceButton(
onTap: () {
_showCreateSpaceDialog(screenSize);
},
)
))
: Stack(
children: spaces
.asMap()