Capitalize words

This commit is contained in:
Neeraj Gupta 2022-05-30 16:38:15 +05:30
parent 786b23dfdf
commit 5879b5d8bb
No known key found for this signature in database
GPG key ID: 3C5A1684DC1729E1
8 changed files with 16 additions and 16 deletions

View file

@ -24,7 +24,7 @@ class _ChangeEmailDialogState extends State<ChangeEmailDialog> {
children: [
TextFormField(
decoration: InputDecoration(
hintText: 'email',
hintText: 'Email',
hintStyle: TextStyle(
color: Colors.white30,
),

View file

@ -148,7 +148,7 @@ class _EmailEntryPageState extends State<EmailEntryPage> {
decoration: InputDecoration(
fillColor: _emailIsValid ? _validFieldValueColor : null,
filled: true,
hintText: 'email',
hintText: 'Email',
contentPadding:
EdgeInsets.symmetric(horizontal: 16, vertical: 14),
border: UnderlineInputBorder(
@ -193,7 +193,7 @@ class _EmailEntryPageState extends State<EmailEntryPage> {
fillColor:
_passwordIsValid ? _validFieldValueColor : null,
filled: true,
hintText: "password",
hintText: "Password",
contentPadding:
EdgeInsets.symmetric(horizontal: 16, vertical: 14),
suffixIcon: _password1InFocus
@ -260,7 +260,7 @@ class _EmailEntryPageState extends State<EmailEntryPage> {
fillColor:
_passwordsMatch ? _validFieldValueColor : null,
filled: true,
hintText: "confirm password",
hintText: "Confirm password",
contentPadding: EdgeInsets.symmetric(
horizontal: 16, vertical: 14),
suffixIcon: _password2InFocus

View file

@ -79,11 +79,11 @@ class _LoginPageState extends State<LoginPage> {
Padding(
padding: const EdgeInsets.fromLTRB(20, 24, 20, 0),
child: TextFormField(
autofillHints: [AutofillHints.email],
autofillHints: const [AutofillHints.email],
decoration: InputDecoration(
fillColor: _emailInputFieldColor,
filled: true,
hintText: 'email',
hintText: 'Email',
contentPadding:
EdgeInsets.symmetric(horizontal: 15, vertical: 15),
border: UnderlineInputBorder(

View file

@ -157,7 +157,7 @@ class _OTTVerificationPageState extends State<OTTVerificationPage> {
style: Theme.of(context).textTheme.subtitle1,
decoration: InputDecoration(
filled: true,
hintText: 'tap to enter code',
hintText: 'Tap to enter code',
contentPadding: EdgeInsets.all(15),
border: UnderlineInputBorder(
borderSide: BorderSide.none,

View file

@ -419,14 +419,14 @@ class _PasswordEntryPageState extends State<PasswordEntryPage> {
void _updatePassword() async {
final dialog =
createProgressDialog(context, "generating encryption keys...");
createProgressDialog(context, "Generating encryption keys...");
await dialog.show();
try {
final keyAttributes = await Configuration.instance
.updatePassword(_passwordController1.text);
await UserService.instance.updateKeyAttributes(keyAttributes);
await dialog.hide();
showToast("password changed successfully");
showShortToast("Password changed successfully");
Navigator.of(context).pop();
if (widget.mode == PasswordEntryMode.reset) {
Bus.instance.fire(SubscriptionPurchasedEvent());

View file

@ -96,9 +96,9 @@ class _PasswordReentryPageState extends State<PasswordReentryPage> {
Padding(
padding: const EdgeInsets.fromLTRB(20, 24, 20, 0),
child: TextFormField(
autofillHints: [AutofillHints.password],
autofillHints: const [AutofillHints.password],
decoration: InputDecoration(
hintText: "enter your password",
hintText: "Enter your password",
filled: true,
contentPadding: EdgeInsets.all(20),
border: UnderlineInputBorder(

View file

@ -391,10 +391,10 @@ class _StripeSubscriptionPageState extends State<StripeSubscriptionPage> {
// confirm if user wants to change plan or not
var result = await showChoiceDialog(
context,
"confirm plan change",
"are you sure you want to change your plan?",
firstAction: "no",
secondAction: 'yes');
"Confirm plan change",
"Are you sure you want to change your plan?",
firstAction: "No",
secondAction: 'Yes');
if (result != DialogUserChoice.secondChoice) {
return;
}

View file

@ -79,7 +79,7 @@ class _RecoveryPageState extends State<RecoveryPage> {
child: TextFormField(
decoration: InputDecoration(
filled: true,
hintText: "enter your recovery key",
hintText: "Enter your recovery key",
contentPadding: EdgeInsets.all(20),
border: UnderlineInputBorder(
borderSide: BorderSide.none,