Removed outdated translations related to #1459

This commit is contained in:
Imran Remtulla
2024-03-09 14:17:18 -05:00
parent 89edddd38c
commit 4902e0ef06
19 changed files with 20 additions and 46 deletions

View File

@ -73,14 +73,6 @@ class GitLab extends AppSource {
return creds != null && creds.isNotEmpty ? creds : null;
}
@override
Future<String?> getSourceNote() async {
if ((await getPATIfAny({})) == null) {
return '${tr('gitlabSourceNote')} ${hostChanged ? tr('addInfoBelow') : tr('addInfoInSettings')}';
}
return null;
}
@override
Future<Map<String, List<String>>> search(String query,
{Map<String, dynamic> querySettings = const {}}) async {
@ -208,7 +200,7 @@ class GitLab extends AppSource {
});
}
if (apkDetailsList.isEmpty) {
throw NoReleasesError(note: tr('gitlabSourceNote'));
throw NoReleasesError();
}
if (fallbackToOlderReleases) {
if (additionalSettings['trackOnly'] != true) {
@ -216,7 +208,7 @@ class GitLab extends AppSource {
apkDetailsList.where((e) => e.apkUrls.isNotEmpty).toList();
}
if (apkDetailsList.isEmpty) {
throw NoReleasesError(note: tr('gitlabSourceNote'));
throw NoReleasesError();
}
}
return apkDetailsList.first;