AutoConfigure: Make it clear what permissions will be requested

This commit is contained in:
Vishesh Handa
2020-08-21 12:36:42 +02:00
parent aabeb57fc0
commit f2f10433d9
2 changed files with 9 additions and 1 deletions

View File

@ -187,7 +187,8 @@ setup:
title: We need permission to perform the following steps title: We need permission to perform the following steps
step1: 1. List your existing repos or create a new repo step1: 1. List your existing repos or create a new repo
step2: 2. Generate an SSH Key on this device step2: 2. Generate an SSH Key on this device
step3: 3. Add the key as a deploy key with write access to the created repo step3: 3. Add the key as a deploy key with write access to the repository
warning: This will require granting GitJournal access to all private and public repos. If you're not comfortable with that please go back and chose the manual setup option.
authorize: Authorize GitJournal authorize: Authorize GitJournal
waitPerm: Waiting for Permissions ... waitPerm: Waiting for Permissions ...
readUser: Reading User Info readUser: Reading User Info

View File

@ -134,6 +134,13 @@ class GitHostSetupAutoConfigureState extends State<GitHostSetupAutoConfigure> {
style: Theme.of(context).textTheme.bodyText1, style: Theme.of(context).textTheme.bodyText1,
), ),
const SizedBox(height: 32.0), const SizedBox(height: 32.0),
Text(
tr('setup.autoconfigure.warning'),
style: Theme.of(context).textTheme.bodyText1.copyWith(
fontStyle: FontStyle.italic,
),
),
const SizedBox(height: 32.0),
GitHostSetupButton( GitHostSetupButton(
text: tr('setup.autoconfigure.authorize'), text: tr('setup.autoconfigure.authorize'),