fixed dart analyze issues

This commit is contained in:
Elliot 2025-08-06 16:18:27 -04:00
parent f7d53c3b97
commit 50aca1b4c1
3 changed files with 6 additions and 6 deletions

@ -0,0 +1 @@
Subproject commit edada7c56edf4a183c1735310e123c7f923584f1

View file

@ -16,15 +16,15 @@ String? getServerUrl() {
if (serverUri == null) { if (serverUri == null) {
return null; return null;
} }
var URIToDecodeFull = "${serverUri.scheme}://"; var UriToDecodeToFull = "${serverUri.scheme}://";
if (serverUri.userInfo.isNotEmpty){ if (serverUri.userInfo.isNotEmpty){
URIToDecodeFull += "${serverUri.userInfo}@"; UriToDecodeToFull += "${serverUri.userInfo}@";
} }
URIToDecodeFull += "${serverUri.host}"; UriToDecodeToFull += serverUri.host;
if(serverUri.hasPort){ if(serverUri.hasPort){
URIToDecodeFull += ":${serverUri.port}"; UriToDecodeToFull += ":${serverUri.port}";
} }
return Uri.decodeFull(URIToDecodeFull); return Uri.decodeFull(UriToDecodeToFull);
} }
/// Converts a Unicode URL to its ASCII-compatible encoding (Punycode). /// Converts a Unicode URL to its ASCII-compatible encoding (Punycode).

View file

@ -7,7 +7,6 @@ import 'package:immich_mobile/utils/url_helper.dart';
import 'package:isar/isar.dart'; import 'package:isar/isar.dart';
import '../test_utils.dart'; import '../test_utils.dart';
import '../fixtures/user.stub.dart';
void main() { void main() {
late Isar db; late Isar db;