Merge pull request #323 from ente-io/fix_copies

Fix cases
This commit is contained in:
Manav 2022-06-18 17:55:05 +05:30 committed by GitHub
commit 5ae8a02d5d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
9 changed files with 18 additions and 18 deletions

View file

@ -157,7 +157,7 @@ class _ApkDownloaderDialogState extends State<ApkDownloaderDialog> {
actions: [
TextButton(
child: Text(
"ignore",
"Ignore",
style: TextStyle(
color: Colors.white,
),
@ -169,7 +169,7 @@ class _ApkDownloaderDialogState extends State<ApkDownloaderDialog> {
),
TextButton(
child: Text(
"retry",
"Retry",
style: TextStyle(
color: Theme.of(context).buttonColor,
),

View file

@ -460,7 +460,7 @@ class _EmailEntryPageState extends State<EmailEntryPage> {
MaterialPageRoute(
builder: (BuildContext context) {
return WebPage(
"encryption",
"Encryption",
"https://ente.io/architecture",
);
},
@ -528,7 +528,7 @@ class PricingWidget extends StatelessWidget {
mainAxisAlignment: MainAxisAlignment.spaceEvenly,
children: <Widget>[
Text(
"pricing",
"Pricing",
style: TextStyle(
fontWeight: FontWeight.bold,
fontSize: 18,
@ -561,7 +561,7 @@ class PricingWidget extends StatelessWidget {
),
Padding(padding: EdgeInsets.all(1)),
Text(
"close",
"Close",
style: TextStyle(
color: Colors.white38,
),

View file

@ -34,7 +34,7 @@ class _ExifInfoDialogState extends State<ExifInfoDialog> {
actions: [
TextButton(
child: Text(
"close",
"Close",
style: Theme.of(context).textTheme.bodyText1,
),
onPressed: () {

View file

@ -403,7 +403,7 @@ class _ImageEditorPageState extends State<ImageEditorPage> {
SizedBox(
width: 40,
child: Text(
"color",
"Color",
style: subtitle2.copyWith(
color: subtitle2.color.withOpacity(0.8),
),

View file

@ -376,18 +376,18 @@ class _StripeSubscriptionPageState extends State<StripeSubscriptionPage> {
var choice = await showChoiceDialog(
context,
title,
"are you sure you want to renew?",
firstAction: "no",
secondAction: "yes",
"Are you sure you want to renew?",
firstAction: "No",
secondAction: "Yes",
);
confirmAction = choice == DialogUserChoice.secondChoice;
} else {
var choice = await showChoiceDialog(
context,
title,
'are you sure you want to cancel?',
firstAction: 'yes, cancel',
secondAction: 'no',
'Are you sure you want to cancel?',
firstAction: 'Yes, cancel',
secondAction: 'No',
actionType: ActionType.critical,
);
confirmAction = choice == DialogUserChoice.firstChoice;

View file

@ -70,7 +70,7 @@ class _RecoveryPageState extends State<RecoveryPage> {
if (e is AssertionError) {
errMessage = '$errMessage : ${e.message}';
}
showErrorDialog(context, "incorrect recovery key", errMessage);
showErrorDialog(context, "Incorrect recovery key", errMessage);
}
},
),

View file

@ -84,7 +84,7 @@ class InfoSectionWidget extends StatelessWidget {
behavior: HitTestBehavior.translucent,
onTap: () async {
final dialog =
createProgressDialog(context, "checking...");
createProgressDialog(context, "Checking...");
await dialog.show();
final shouldUpdate =
await UpdateService.instance.shouldUpdate();

View file

@ -285,7 +285,7 @@ class _SecuritySectionWidgetState extends State<SecuritySectionWidget> {
actions: [
TextButton(
child: Text(
"no",
"No",
style: TextStyle(
color: Theme.of(context).buttonColor,
),
@ -296,7 +296,7 @@ class _SecuritySectionWidgetState extends State<SecuritySectionWidget> {
),
TextButton(
child: Text(
"yes",
"Yes",
style: TextStyle(
color: Colors.red,
),

View file

@ -56,7 +56,7 @@ class SupportSectionWidget extends StatelessWidget {
final url = isLoggedIn
? endpoint + "?token=" + Configuration.instance.getToken()
: kRoadmapURL;
return WebPage("roadmap", url);
return WebPage("Roadmap", url);
},
),
);