murais e icone sistema
Some checks failed
Main Deploy Workflow / deploy_web (push) Has been cancelled
Main Deploy Workflow / deploy_playstore_internal (push) Has been cancelled
Close stale issues and PRs / stale (push) Has been cancelled

This commit is contained in:
2026-09-13 13:41:01 -03:00
parent 5d97feda86
commit 41a6a52393
56 changed files with 1148 additions and 46 deletions

View File

@@ -34,54 +34,59 @@ class ChatListView extends StatelessWidget {
return;
}
},
child: Column(
crossAxisAlignment: CrossAxisAlignment.stretch,
children: [
if (isColumnMode)
ChatTopTabBar(
currentTab: homeTab,
onTabSelected: controller.setHomeTab,
),
Expanded(
child: Scaffold(
body: SafeArea(
top: false,
bottom: false,
left: false,
right: false,
child: IndexedStack(
index: homeTab.index,
children: [
ChatTabScaffold(
tab: HomeTab.chats,
isSearchMode: controller.isSearchMode,
onSearchPressed: controller.startSearch,
onSearchCancelled: () => controller.cancelSearch(),
searchController: controller.searchController,
searchFocusNode: controller.searchFocusNode,
onSearchChanged: (text) =>
controller.onSearchEnter(text, globalSearch: true),
controller: controller,
child: ChatListViewBody(controller),
),
ChannelsTab(controller),
SpacesTab(controller),
MuralsTab(controller),
],
),
child: SafeArea(
bottom: false,
left: false,
right: false,
child: Column(
crossAxisAlignment: CrossAxisAlignment.stretch,
children: [
if (isColumnMode)
ChatTopTabBar(
currentTab: homeTab,
onTabSelected: controller.setHomeTab,
),
Expanded(
child: Scaffold(
body: SafeArea(
top: false,
bottom: false,
left: false,
right: false,
child: IndexedStack(
index: homeTab.index,
children: [
ChatTabScaffold(
tab: HomeTab.chats,
isSearchMode: controller.isSearchMode,
onSearchPressed: controller.startSearch,
onSearchCancelled: () => controller.cancelSearch(),
searchController: controller.searchController,
searchFocusNode: controller.searchFocusNode,
onSearchChanged: (text) =>
controller.onSearchEnter(text, globalSearch: true),
controller: controller,
child: ChatListViewBody(controller),
),
ChannelsTab(controller),
SpacesTab(controller),
MuralsTab(controller),
],
),
),
floatingActionButton: !controller.isSearchMode && !isColumnMode
? const StartChatFab()
: const SizedBox.shrink(),
bottomNavigationBar: isColumnMode
? null
: ChatBottomTabBar(
currentTab: homeTab,
onTabSelected: controller.setHomeTab,
),
),
floatingActionButton: !controller.isSearchMode && !isColumnMode
? const StartChatFab()
: const SizedBox.shrink(),
bottomNavigationBar: isColumnMode
? null
: ChatBottomTabBar(
currentTab: homeTab,
onTabSelected: controller.setHomeTab,
),
),
),
],
],
),
),
);
}