forked from SelfPrivacy/selfprivacy.org.app
update
parent
9fe307b7e7
commit
7bafaa66be
|
@ -1,5 +1,7 @@
|
||||||
import 'package:flutter/material.dart';
|
import 'package:flutter/material.dart';
|
||||||
import 'package:selfprivacy/config/brand_colors.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 {
|
class NotReadyCard extends StatelessWidget {
|
||||||
const NotReadyCard({Key key}) : super(key: key);
|
const NotReadyCard({Key key}) : super(key: key);
|
||||||
|
@ -10,9 +12,37 @@ class NotReadyCard extends StatelessWidget {
|
||||||
padding: EdgeInsets.symmetric(horizontal: 15, vertical: 10),
|
padding: EdgeInsets.symmetric(horizontal: 15, vertical: 10),
|
||||||
decoration: BoxDecoration(
|
decoration: BoxDecoration(
|
||||||
borderRadius: BorderRadius.circular(15), color: BrandColors.gray6),
|
borderRadius: BorderRadius.circular(15), color: BrandColors.gray6),
|
||||||
child: Text(
|
child: RichText(
|
||||||
'Завершите настройку приложения используя "Мастер подключения" для продолжения работы',
|
text: TextSpan(
|
||||||
style: TextStyle(color: BrandColors.white),
|
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(
|
BrandSpanButton.link(
|
||||||
text: 'hetzner.com/sdfsdfsdfsdf',
|
text: 'hetzner.com',
|
||||||
urlString: 'https://hetzner.com/sdfsdfsdfsdf',
|
urlString: 'https://hetzner.com',
|
||||||
),
|
),
|
||||||
TextSpan(
|
TextSpan(
|
||||||
text: '''
|
text: '''
|
||||||
|
|
Loading…
Reference in New Issue