Settings: Rename section to 'Git Author'

Instead of 'Git Settings'
This commit is contained in:
Vishesh Handa
2019-10-07 19:33:23 +02:00
parent 69003cf0ac
commit a60de98e8f

View File

@ -49,7 +49,7 @@ class SettingsListState extends State<SettingsList> {
decoration: const InputDecoration( decoration: const InputDecoration(
icon: Icon(Icons.person), icon: Icon(Icons.person),
hintText: 'Who should author the changes?', hintText: 'Who should author the changes?',
labelText: 'Git Author', labelText: 'Full Name',
), ),
validator: (String value) { validator: (String value) {
value = value.trim(); value = value.trim();
@ -81,7 +81,7 @@ class SettingsListState extends State<SettingsList> {
decoration: const InputDecoration( decoration: const InputDecoration(
icon: Icon(Icons.email), icon: Icon(Icons.email),
hintText: 'Who should author the changes?', hintText: 'Who should author the changes?',
labelText: 'Git Author Email', labelText: 'Email',
), ),
validator: (String value) { validator: (String value) {
value = value.trim(); value = value.trim();
@ -164,7 +164,7 @@ class SettingsListState extends State<SettingsList> {
Settings.instance.save(); Settings.instance.save();
}, },
), ),
PreferenceTitle("Git Settings"), PreferenceTitle("Git Author Settings"),
ListTile(title: gitAuthorForm), ListTile(title: gitAuthorForm),
ListTile(title: gitAuthorEmailForm), ListTile(title: gitAuthorEmailForm),
SizedBox(height: 16.0), SizedBox(height: 16.0),