fdroid
Kherel 2021-01-27 20:54:37 +01:00
parent 9fe307b7e7
commit 7bafaa66be
2 changed files with 35 additions and 5 deletions

View File

@ -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),
),
],
),
),
);
}

View File

@ -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: '''