From 433534c17e4d615fcb8ecaa98715497d1acd01c1 Mon Sep 17 00:00:00 2001 From: Rongjian Zhang Date: Sat, 8 Feb 2020 15:44:06 +0800 Subject: [PATCH] improvement(bb): add permissions tips --- lib/screens/login.dart | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/lib/screens/login.dart b/lib/screens/login.dart index a35429a..9f37190 100644 --- a/lib/screens/login.dart +++ b/lib/screens/login.dart @@ -246,7 +246,17 @@ class _LoginScreenState extends State { placeholder: 'App password', controller: _passwordController), 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), + ) ], ), );