mirror of
				https://gitlab.com/comunic/comunicmobile
				synced 2025-11-03 19:54:12 +00:00 
			
		
		
		
	Start to build specific Forez tour
This commit is contained in:
		@@ -6,10 +6,10 @@ import 'package:comunic/helpers/version_helper.dart';
 | 
			
		||||
import 'package:comunic/helpers/websocket_helper.dart';
 | 
			
		||||
import 'package:comunic/models/config.dart';
 | 
			
		||||
import 'package:comunic/ui/dialogs/deprecation_dialog.dart';
 | 
			
		||||
import 'package:comunic/ui/routes/TourRoute.dart';
 | 
			
		||||
import 'package:comunic/ui/routes/main_route/main_route.dart';
 | 
			
		||||
import 'package:comunic/ui/routes/main_route/smartphone_route.dart';
 | 
			
		||||
import 'package:comunic/ui/routes/main_route/tablet_route.dart';
 | 
			
		||||
import 'package:comunic/ui/routes/tour_route.dart';
 | 
			
		||||
import 'package:comunic/ui/routes/welcome_route.dart';
 | 
			
		||||
import 'package:comunic/ui/widgets/login_routes_theme.dart';
 | 
			
		||||
import 'package:comunic/ui/widgets/safe_state.dart';
 | 
			
		||||
 
 | 
			
		||||
@@ -1,3 +1,4 @@
 | 
			
		||||
import 'package:comunic/models/config.dart';
 | 
			
		||||
import 'package:comunic/ui/widgets/tour/fixed_tour_size_text_area.dart';
 | 
			
		||||
import 'package:comunic/utils/intl_utils.dart';
 | 
			
		||||
import 'package:flutter/material.dart';
 | 
			
		||||
@@ -7,6 +8,11 @@ import 'package:flutter/material.dart';
 | 
			
		||||
/// @author Pierre Hubert
 | 
			
		||||
 | 
			
		||||
class FirstTourPane extends StatelessWidget {
 | 
			
		||||
  final String msgOne;
 | 
			
		||||
  final String msgTwo;
 | 
			
		||||
 | 
			
		||||
  const FirstTourPane({Key key, this.msgOne, this.msgTwo}) : super(key: key);
 | 
			
		||||
 | 
			
		||||
  @override
 | 
			
		||||
  Widget build(BuildContext context) {
 | 
			
		||||
    return Column(
 | 
			
		||||
@@ -14,15 +20,15 @@ class FirstTourPane extends StatelessWidget {
 | 
			
		||||
      children: <Widget>[
 | 
			
		||||
        Spacer(flex: 3),
 | 
			
		||||
        Text(
 | 
			
		||||
          "Comunic",
 | 
			
		||||
          config().appName,
 | 
			
		||||
          style: TextStyle(fontSize: 25),
 | 
			
		||||
        ),
 | 
			
		||||
        Spacer(flex: 2),
 | 
			
		||||
        FixedTourSizeTextArea(tr(
 | 
			
		||||
            "Welcome to Comunic, the social network that respect your privacy!")),
 | 
			
		||||
        FixedTourSizeTextArea(msgOne ??
 | 
			
		||||
            tr("Welcome to Comunic, the social network that respect your privacy!")),
 | 
			
		||||
        Spacer(flex: 1),
 | 
			
		||||
        FixedTourSizeTextArea(tr(
 | 
			
		||||
            "Let's configure a few things and present you some features of the network...")),
 | 
			
		||||
        FixedTourSizeTextArea(msgTwo ??
 | 
			
		||||
            tr("Let's configure a few things and present you some features of the network...")),
 | 
			
		||||
        Spacer(flex: 3),
 | 
			
		||||
      ],
 | 
			
		||||
    );
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user