fix: translation bug, disable signing for pull req

This commit is contained in:
Hiddify
2024-02-20 09:30:34 +01:00
parent dff2f0e820
commit b370131667
7 changed files with 11 additions and 10 deletions

View File

@@ -127,8 +127,8 @@ class ConnectionNotifier extends _$ConnectionNotifier with AppLogger {
)
.mapLeft((err) async {
loggy.warning("error connecting", err);
loggy.warning(
err); //Go err is not normal object to see the go errors are string and need to be dumped
//Go err is not normal object to see the go errors are string and need to be dumped
loggy.warning(err);
if (err.toString().contains("panic")) {
await Sentry.captureException(Exception(err.toString()));
}

View File

@@ -125,7 +125,7 @@ class IntroPage extends HookConsumerWidget with PresLogger {
_getRegionLocale(jsonData['country']?.toString() ?? "");
loggy.debug(
'Region: ${regionLocale.region} Locale: ${regionLocale.locale}');
'Region: ${regionLocale.region} Locale: ${regionLocale.locale}',);
await ref
.read(regionNotifierProvider.notifier)
.update(regionLocale.region);

View File

@@ -423,7 +423,7 @@ class ProfileRepositoryImpl
loggy.debug(
"only [$headersFound] headers found, checking file content for possible information",
);
var content = await File(path).readAsString();
final content = await File(path).readAsString();
final contentHeaders = parseHeadersFromContent(content);
for (final entry in contentHeaders.entries) {
if (!headers.keys.contains(entry.key) && entry.value.isNotEmpty) {