fix for scanning himself
Some checks are pending
Flutter analyze & test / flutter_analyze_and_test (push) Waiting to run

This commit is contained in:
otsmr 2025-12-15 20:56:18 +01:00
parent 54f049496d
commit 618d4a3fb3

View file

@ -220,10 +220,12 @@ class MainCameraController {
} }
} }
} else { } else {
if (scannedNewProfiles[profile.userId.toInt()] == null) { if (profile.username != gUser.username) {
scannedNewProfiles[profile.userId.toInt()] = ScannedNewProfile( if (scannedNewProfiles[profile.userId.toInt()] == null) {
profile: profile, scannedNewProfiles[profile.userId.toInt()] = ScannedNewProfile(
); profile: profile,
);
}
} }
} }
} }