Put home tab to navigation
This commit is contained in:
parent
a8ac98284a
commit
cc99071ff9
|
@ -9,6 +9,7 @@ import 'package:provider/provider.dart';
|
||||||
import 'hooks/stores.dart';
|
import 'hooks/stores.dart';
|
||||||
import 'pages/communities_tab.dart';
|
import 'pages/communities_tab.dart';
|
||||||
import 'pages/create_post.dart';
|
import 'pages/create_post.dart';
|
||||||
|
import 'pages/home_tab.dart';
|
||||||
import 'pages/profile_tab.dart';
|
import 'pages/profile_tab.dart';
|
||||||
import 'stores/accounts_store.dart';
|
import 'stores/accounts_store.dart';
|
||||||
import 'stores/config_store.dart';
|
import 'stores/config_store.dart';
|
||||||
|
@ -71,7 +72,7 @@ class MyApp extends HookWidget {
|
||||||
|
|
||||||
class MyHomePage extends HookWidget {
|
class MyHomePage extends HookWidget {
|
||||||
final List<Widget> pages = [
|
final List<Widget> pages = [
|
||||||
Center(child: Text('home')), // TODO: home tab
|
HomeTab(),
|
||||||
CommunitiesTab(),
|
CommunitiesTab(),
|
||||||
Center(child: Text('search')), // TODO: search tab
|
Center(child: Text('search')), // TODO: search tab
|
||||||
UserProfileTab(),
|
UserProfileTab(),
|
||||||
|
|
Loading…
Reference in New Issue