Skip to content

Commit

Permalink
feat(bitbucket): clarify app password
Browse files Browse the repository at this point in the history
closes #125
  • Loading branch information
pd4d10 committed Nov 8, 2020
1 parent 979e913 commit 53897f6
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions lib/screens/login.dart
@@ -1,4 +1,5 @@
import 'package:flutter/cupertino.dart';
import 'package:flutter/gestures.dart';
import 'package:flutter/material.dart';
import 'package:git_touch/models/auth.dart';
import 'package:git_touch/models/theme.dart';
Expand Down Expand Up @@ -247,6 +248,26 @@ class _LoginScreenState extends State<LoginScreen> {
placeholder: 'App password',
controller: _passwordController),
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(
'GitTouch needs these permissions',
style: TextStyle(
Expand Down

0 comments on commit 53897f6

Please sign in to comment.