Corrected typo

This commit is contained in:
2025-08-05 14:04:13 +02:00
parent bd0c2e7944
commit 344aa970cd
2 changed files with 7 additions and 7 deletions

View File

@@ -3,10 +3,10 @@ import 'package:cabo_counter/l10n/generated/app_localizations.dart'
show AppLocalizations;
import 'package:flutter/cupertino.dart';
class LicenceDetailView extends StatelessWidget {
final String title, licence;
const LicenceDetailView(
{super.key, required this.title, required this.licence});
class LicenseDetailView extends StatelessWidget {
final String title, license;
const LicenseDetailView(
{super.key, required this.title, required this.license});
@override
Widget build(BuildContext context) {
@@ -44,7 +44,7 @@ class LicenceDetailView extends StatelessWidget {
color: CustomTheme.buttonBackgroundColor,
borderRadius: BorderRadius.circular(16)),
child: Text(
licence,
license,
style: const TextStyle(fontSize: 15),
),
)

View File

@@ -33,10 +33,10 @@ class LicenseView extends StatelessWidget {
Navigator.push(
context,
CupertinoPageRoute(
builder: (_) => LicenceDetailView(
builder: (_) => LicenseDetailView(
title: ossLicenses[index].name[0].toUpperCase() +
ossLicenses[index].name.substring(1),
licence: ossLicenses[index].license!,
license: ossLicenses[index].license!,
),
),
);