diff --git a/lib/screens/registerScreen.dart b/lib/screens/registerScreen.dart index cedb89e..009bc8a 100644 --- a/lib/screens/registerScreen.dart +++ b/lib/screens/registerScreen.dart @@ -37,7 +37,6 @@ class _RegisterScreenState extends State { await showDialog( context: context, builder: (context) => AlertDialog( - title: Text(message), content: Text(message), ), ).then( @@ -133,7 +132,7 @@ class _RegisterScreenState extends State { TextFormField( obscureText: true, decoration: inputDecoration.copyWith( - labelText: 'Password', + labelText: 'Confirm Password', ), validator: (value) { if (_confirmPassword.compareTo(_password) != 0) { @@ -165,8 +164,9 @@ class _RegisterScreenState extends State { ), const Flexible( child: Text( - 'I acknowledge I have read and agree to enviroCar\'s Terms and Conditions', - ), + + 'I acknowledge that I have read and agree to enviroCar\'s Terms and Conditions'), + ), ], ), @@ -247,7 +247,7 @@ class _RegisterScreenState extends State { _showDialogbox('Email already in use'); } else { _logger.w('Unknown error while registering'); - _showDialogbox('Some other error'); + _showDialogbox('An error was encountered.Please try again.'); } } }, diff --git a/lib/values/settingsValues.dart b/lib/values/settingsValues.dart index 4ab400a..e7801d4 100644 --- a/lib/values/settingsValues.dart +++ b/lib/values/settingsValues.dart @@ -48,7 +48,7 @@ List obdModeSettings = [ SettingsTileModel( title: 'Diesel Consumption Estimation', subtitle: - 'Enables the estimation of consumption values for diesel. NOTE: This feature is just a beta feature.', + 'Enables the estimation of consumption values for diesel. NOTE: This is a beta feature.', isChecked: false, ), ]; @@ -58,13 +58,13 @@ List gpsModeSettings = [ SettingsTileModel( title: 'Enable GPS based track recording', subtitle: - "Activates an additional recording mode that enables the recording of plain GPS based tracks that does not require an OBD-II adapter.\n\nNOTE: This feature is just a beta feature.", + "Activates an additional recording mode that enables the recording of plain GPS based tracks that does not require an OBD-II adapter.\n\nNOTE: This is a beta feature.", isChecked: false, ), SettingsTileModel( title: 'Automatic Recording (GPS)', subtitle: - 'Activates automatic recording of GPS-based trips based on activity detection mechanisms.\n\nNote: This Android function does not work reliably on some smartphone models.', + 'Activates automatic recording of GPS-based trips based on activity detection mechanisms.\n\nNOTE: This Android function does not work reliably on some smartphone models.', isChecked: false, ), ];