TF-2387 Update logo & description for welcome screen
This commit is contained in:
@@ -27,8 +27,7 @@ class TwakeWelcomeView extends GetWidget<TwakeWelcomeController> {
|
||||
padding: const EdgeInsetsDirectional.only(bottom: 16),
|
||||
child: SvgPicture.asset(
|
||||
controller.imagePaths.icLogoTwakeWelcome,
|
||||
width: TwakeWelcomeViewStyle.logoWidth,
|
||||
height: TwakeWelcomeViewStyle.logoHeight,
|
||||
fit: BoxFit.fill,
|
||||
),
|
||||
),
|
||||
focusColor: Colors.transparent,
|
||||
@@ -44,6 +43,7 @@ class TwakeWelcomeView extends GetWidget<TwakeWelcomeController> {
|
||||
: null,
|
||||
useCompanyServerTitle: AppLocalizations.of(context).useCompanyServer,
|
||||
description: AppLocalizations.of(context).descriptionWelcomeTo,
|
||||
descriptionTextStyle: TwakeWelcomeViewStyle.descriptionTextStyle,
|
||||
privacyPolicy: AppLocalizations.of(context).privacyPolicy,
|
||||
descriptionPrivacyPolicy: AppLocalizations.of(context).byContinuingYouAreAgreeingToOur,
|
||||
onPrivacyPolicyOnTap: controller.onClickPrivacyPolicy,
|
||||
|
||||
@@ -1,4 +1,10 @@
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:linagora_design_flutter/linagora_design_flutter.dart';
|
||||
|
||||
class TwakeWelcomeViewStyle {
|
||||
static const double logoWidth = 205;
|
||||
static const double logoHeight = 147;
|
||||
static final TextStyle descriptionTextStyle = TextStyle(
|
||||
fontSize: 14,
|
||||
fontWeight: FontWeight.w500,
|
||||
color: LinagoraSysColors.material().onSurface
|
||||
);
|
||||
}
|
||||
|
||||
@@ -4042,7 +4042,7 @@
|
||||
"placeholders_order": [],
|
||||
"placeholders": {}
|
||||
},
|
||||
"descriptionWelcomeTo": "End-to-end encryption, collaborative\n features for secure and efficient\n teamwork",
|
||||
"descriptionWelcomeTo": "The new Open Source standard for secure professional e-mail",
|
||||
"@descriptionWelcomeTo": {
|
||||
"type": "text",
|
||||
"placeholders_order": [],
|
||||
|
||||
@@ -4241,7 +4241,7 @@ class AppLocalizations {
|
||||
|
||||
String get descriptionWelcomeTo {
|
||||
return Intl.message(
|
||||
'End-to-end encryption, collaborative\n features for secure and efficient\n teamwork',
|
||||
'The new Open Source standard for\n secure professional e-mail',
|
||||
name: 'descriptionWelcomeTo',
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user