mirror of
https://github.com/GitJournal/GitJournal.git
synced 2025-07-24 11:15:25 +08:00
Settings: Rename section to 'Git Author'
Instead of 'Git Settings'
This commit is contained in:
@ -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),
|
||||||
|
Reference in New Issue
Block a user