mirror of
				https://gitlab.com/comunic/comunicmobile
				synced 2025-11-04 04:04:18 +00:00 
			
		
		
		
	Add user panel
This commit is contained in:
		@@ -1,4 +1,5 @@
 | 
			
		||||
import 'package:comunic/ui/routes/main_route/main_route.dart';
 | 
			
		||||
import 'package:comunic/ui/widgets/tablet_mode/current_user_panel.dart';
 | 
			
		||||
import 'package:flutter/material.dart';
 | 
			
		||||
 | 
			
		||||
/// Main tablet route
 | 
			
		||||
@@ -32,9 +33,16 @@ class _TabletRouteState extends State<TabletRoute> {
 | 
			
		||||
        children: <Widget>[_buildLeftPane(), _buildRightPane()],
 | 
			
		||||
      );
 | 
			
		||||
 | 
			
		||||
  Widget _buildLeftPane() => Container(
 | 
			
		||||
        width: 300,
 | 
			
		||||
        color: Color(0xFF222D32),
 | 
			
		||||
  Widget _buildLeftPane() => Theme(
 | 
			
		||||
        data: Theme.of(context).copyWith(
 | 
			
		||||
            textTheme: TextTheme(body1: TextStyle(color: Colors.white))),
 | 
			
		||||
        child: Container(
 | 
			
		||||
          width: 300,
 | 
			
		||||
          color: Color(0xFF222D32),
 | 
			
		||||
          child: Column(
 | 
			
		||||
            children: <Widget>[CurrentUserPanel()],
 | 
			
		||||
          ),
 | 
			
		||||
        ),
 | 
			
		||||
      );
 | 
			
		||||
 | 
			
		||||
  Widget _buildRightPane() => Container();
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user