Skip to content

Commit c0cd6b3

Browse files
committed
fix(tabbar)
1 parent 56a308b commit c0cd6b3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/modules/areas/areas_page.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ class AreasPage extends GetView<AreasController> {
2424
labelStyle: const TextStyle(fontSize: 18, fontWeight: FontWeight.w600),
2525
labelPadding: const EdgeInsets.symmetric(horizontal: 12),
2626
indicatorSize: TabBarIndicatorSize.label,
27-
tabs: controller.sites.map((e) => Tab(text: e.name)).toList(),
27+
tabs: Sites().availableSites().map((e) => Tab(text: e.name)).toList(),
2828
),
2929
),
3030
body: TabBarView(

0 commit comments

Comments
 (0)