mirror of
				https://gitlab.com/comunic/comunicmobile
				synced 2025-11-04 04:04:18 +00:00 
			
		
		
		
	Start to display banner
This commit is contained in:
		@@ -1,6 +1,7 @@
 | 
			
		||||
import 'package:comunic/ui/routes/main_route/main_route.dart';
 | 
			
		||||
import 'package:comunic/ui/routes/main_route/page_info.dart';
 | 
			
		||||
import 'package:comunic/ui/screens/notifications_screen.dart';
 | 
			
		||||
import 'package:comunic/ui/widgets/banner_widget.dart';
 | 
			
		||||
import 'package:comunic/ui/widgets/mobile_mode/mobile_appbar_widget.dart';
 | 
			
		||||
import 'package:flutter/material.dart';
 | 
			
		||||
 | 
			
		||||
@@ -33,7 +34,14 @@ class _MainRouteState extends MainController {
 | 
			
		||||
            appBar: currentPage.hideNavBar
 | 
			
		||||
                ? null
 | 
			
		||||
                : ComunicMobileAppBar(currentPage: currentPage),
 | 
			
		||||
            body: SafeArea(key: currentPage.key, child: currentPage.child),
 | 
			
		||||
            body: SafeArea(
 | 
			
		||||
                key: currentPage.key,
 | 
			
		||||
                child: Column(
 | 
			
		||||
                  children: [
 | 
			
		||||
                    BannerWidget(),
 | 
			
		||||
                    Expanded(child: currentPage.child)
 | 
			
		||||
                  ],
 | 
			
		||||
                )),
 | 
			
		||||
          ),
 | 
			
		||||
        ),
 | 
			
		||||
      ),
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user