improvement(bb): add permissions tips

This commit is contained in:
Rongjian Zhang 2020-02-08 15:44:06 +08:00
parent 1d4dd65b0b
commit 433534c17e
1 changed files with 11 additions and 1 deletions

View File

@ -246,7 +246,17 @@ class _LoginScreenState extends State<LoginScreen> {
placeholder: 'App password', placeholder: 'App password',
controller: _passwordController), controller: _passwordController),
SizedBox(height: 8), SizedBox(height: 8),
// TODO: permissions Text(
'GitTouch needs these permissions',
style: TextStyle(
fontSize: 14, fontWeight: FontWeight.w400),
),
SizedBox(height: 8),
Text(
'Account: read\nTeam membership: read\nProjects: read\nRepositories: read\nPull requests: read\nIssues: read\nSnippets: read',
style: TextStyle(
fontSize: 16, color: theme.palette.primary),
)
], ],
), ),
); );