mirror of
https://git.selfprivacy.org/kherel/selfprivacy.org.app.git
synced 2025-02-04 07:20:39 +00:00
update
This commit is contained in:
parent
9fe307b7e7
commit
7bafaa66be
|
@ -1,5 +1,7 @@
|
|||
import 'package:flutter/material.dart';
|
||||
import 'package:selfprivacy/config/brand_colors.dart';
|
||||
import 'package:selfprivacy/ui/pages/initializing/initializing.dart';
|
||||
import 'package:selfprivacy/utils/route_transitions/basic.dart';
|
||||
|
||||
class NotReadyCard extends StatelessWidget {
|
||||
const NotReadyCard({Key key}) : super(key: key);
|
||||
|
@ -10,9 +12,37 @@ class NotReadyCard extends StatelessWidget {
|
|||
padding: EdgeInsets.symmetric(horizontal: 15, vertical: 10),
|
||||
decoration: BoxDecoration(
|
||||
borderRadius: BorderRadius.circular(15), color: BrandColors.gray6),
|
||||
child: Text(
|
||||
'Завершите настройку приложения используя "Мастер подключения" для продолжения работы',
|
||||
style: TextStyle(color: BrandColors.white),
|
||||
child: RichText(
|
||||
text: TextSpan(
|
||||
children: [
|
||||
TextSpan(
|
||||
text: 'Завершите настройку приложения используя ',
|
||||
style: TextStyle(color: BrandColors.white),
|
||||
),
|
||||
WidgetSpan(
|
||||
child: GestureDetector(
|
||||
child: Text(
|
||||
'Мастер подключения',
|
||||
style: TextStyle(
|
||||
color: Theme.of(context).brightness == Brightness.dark
|
||||
? Colors.blueAccent
|
||||
: BrandColors.white,
|
||||
fontWeight: FontWeight.bold,
|
||||
decoration: TextDecoration.underline),
|
||||
),
|
||||
onTap: () => Navigator.of(context).push(
|
||||
materialRoute(
|
||||
InitializingPage(),
|
||||
),
|
||||
),
|
||||
),
|
||||
),
|
||||
TextSpan(
|
||||
text: ' для продолжения работы',
|
||||
style: TextStyle(color: BrandColors.white),
|
||||
),
|
||||
],
|
||||
),
|
||||
),
|
||||
);
|
||||
}
|
||||
|
|
|
@ -370,8 +370,8 @@ class _HowHetzner extends StatelessWidget {
|
|||
),
|
||||
),
|
||||
BrandSpanButton.link(
|
||||
text: 'hetzner.com/sdfsdfsdfsdf',
|
||||
urlString: 'https://hetzner.com/sdfsdfsdfsdf',
|
||||
text: 'hetzner.com',
|
||||
urlString: 'https://hetzner.com',
|
||||
),
|
||||
TextSpan(
|
||||
text: '''
|
||||
|
|
Loading…
Reference in a new issue