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,6 +220,7 @@ class MainCameraController {
} }
} }
} else { } else {
if (profile.username != gUser.username) {
if (scannedNewProfiles[profile.userId.toInt()] == null) { if (scannedNewProfiles[profile.userId.toInt()] == null) {
scannedNewProfiles[profile.userId.toInt()] = ScannedNewProfile( scannedNewProfiles[profile.userId.toInt()] = ScannedNewProfile(
profile: profile, profile: profile,
@ -228,6 +229,7 @@ class MainCameraController {
} }
} }
} }
}
_isBusy = false; _isBusy = false;
setState(); setState();
} }