mirror of
https://github.com/git-touch/git-touch
synced 2025-01-20 19:28:42 +01:00
parent
979e91378b
commit
53897f6fb3
@ -1,4 +1,5 @@
|
|||||||
import 'package:flutter/cupertino.dart';
|
import 'package:flutter/cupertino.dart';
|
||||||
|
import 'package:flutter/gestures.dart';
|
||||||
import 'package:flutter/material.dart';
|
import 'package:flutter/material.dart';
|
||||||
import 'package:git_touch/models/auth.dart';
|
import 'package:git_touch/models/auth.dart';
|
||||||
import 'package:git_touch/models/theme.dart';
|
import 'package:git_touch/models/theme.dart';
|
||||||
@ -247,6 +248,26 @@ class _LoginScreenState extends State<LoginScreen> {
|
|||||||
placeholder: 'App password',
|
placeholder: 'App password',
|
||||||
controller: _passwordController),
|
controller: _passwordController),
|
||||||
SizedBox(height: 8),
|
SizedBox(height: 8),
|
||||||
|
Text.rich(
|
||||||
|
TextSpan(children: [
|
||||||
|
TextSpan(
|
||||||
|
text:
|
||||||
|
'Note: App password is different with the password. Follow ',
|
||||||
|
),
|
||||||
|
TextSpan(
|
||||||
|
text: 'this guide',
|
||||||
|
style:
|
||||||
|
TextStyle(color: theme.palette.primary),
|
||||||
|
recognizer: TapGestureRecognizer()
|
||||||
|
..onTap = () {
|
||||||
|
theme.push(context,
|
||||||
|
'https://support.atlassian.com/bitbucket-cloud/docs/app-passwords/');
|
||||||
|
},
|
||||||
|
),
|
||||||
|
TextSpan(text: ' to create one.')
|
||||||
|
]),
|
||||||
|
),
|
||||||
|
SizedBox(height: 8),
|
||||||
Text(
|
Text(
|
||||||
'GitTouch needs these permissions',
|
'GitTouch needs these permissions',
|
||||||
style: TextStyle(
|
style: TextStyle(
|
||||||
|
Loading…
Reference in New Issue
Block a user