mirror of
https://gitlab.com/TheOneWithTheBraid/dart_pkpass.git
synced 2025-07-05 21:08:47 +00:00
fix: remove print statements
Signed-off-by: The one with the braid <the-one@with-the-braid.cf>
This commit is contained in:
parent
8f8b970d00
commit
fd864cf4e2
2 changed files with 0 additions and 2 deletions
|
@ -115,7 +115,6 @@ class DictionaryField {
|
||||||
/// Localized version of [label] based on given [locale] and [pass].
|
/// Localized version of [label] based on given [locale] and [pass].
|
||||||
String? getLocalizedLabel(PassFile pass, Locale? locale) {
|
String? getLocalizedLabel(PassFile pass, Locale? locale) {
|
||||||
final localizations = pass.getLocalizations(locale);
|
final localizations = pass.getLocalizations(locale);
|
||||||
print(localizations);
|
|
||||||
return localizations?[label] ?? label;
|
return localizations?[label] ?? label;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -122,7 +122,6 @@ class PassFile {
|
||||||
extension: 'strings',
|
extension: 'strings',
|
||||||
locale: locale,
|
locale: locale,
|
||||||
);
|
);
|
||||||
print(paths);
|
|
||||||
if (paths.isEmpty) return null;
|
if (paths.isEmpty) return null;
|
||||||
final file = _folder.singleWhere((element) => element.name == paths.first);
|
final file = _folder.singleWhere((element) => element.name == paths.first);
|
||||||
return LProjParser.parse(file.stringContent);
|
return LProjParser.parse(file.stringContent);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue