HostSetup CloneUrl: Change text size

This way one can comfortably add the entire git url.
This commit is contained in:
Vishesh Handa
2020-02-16 23:58:53 +01:00
parent adc1039521
commit d2be24a191

View File

@ -46,7 +46,7 @@ class GitCloneUrlPageState extends State<GitCloneUrlPage> {
key: sshUrlKey, key: sshUrlKey,
textAlign: TextAlign.center, textAlign: TextAlign.center,
autofocus: true, autofocus: true,
style: Theme.of(context).textTheme.title, style: Theme.of(context).textTheme.subhead,
decoration: const InputDecoration( decoration: const InputDecoration(
hintText: 'git@github.com:GitJournal/GitJournal.git', hintText: 'git@github.com:GitJournal/GitJournal.git',
), ),
@ -55,8 +55,6 @@ class GitCloneUrlPageState extends State<GitCloneUrlPage> {
textInputAction: TextInputAction.done, textInputAction: TextInputAction.done,
onFieldSubmitted: (String _) => formSubmitted(), onFieldSubmitted: (String _) => formSubmitted(),
initialValue: widget.initialValue, initialValue: widget.initialValue,
minLines: 1,
maxLines: 3,
), ),
); );
@ -131,7 +129,7 @@ class GitCloneUrlKnownProviderPageState
key: sshUrlKey, key: sshUrlKey,
textAlign: TextAlign.center, textAlign: TextAlign.center,
autofocus: true, autofocus: true,
style: Theme.of(context).textTheme.title, style: Theme.of(context).textTheme.subhead,
decoration: const InputDecoration( decoration: const InputDecoration(
hintText: 'git@github.com:GitJournal/GitJournal.git', hintText: 'git@github.com:GitJournal/GitJournal.git',
), ),
@ -140,8 +138,6 @@ class GitCloneUrlKnownProviderPageState
textInputAction: TextInputAction.done, textInputAction: TextInputAction.done,
onFieldSubmitted: (String _) => formSubmitted(), onFieldSubmitted: (String _) => formSubmitted(),
initialValue: widget.initialValue, initialValue: widget.initialValue,
minLines: 1,
maxLines: 3,
), ),
); );