user-account: Return duplicate notification when the finger is exist

This commit is contained in:
Andy Chi 2022-10-14 22:47:13 +08:00 committed by Felipe Borges
parent b5a62e9c6e
commit e0f22a04bb

View file

@ -781,6 +781,10 @@ handle_enroll_signal (CcFingerprintDialog *self,
{
message = _("Fingerprint device storage is full");
}
else if (g_str_equal (result, "enroll-duplicate"))
{
message = _("Fingerprint is duplicate");
}
else
{
message = _("Failed to enroll new fingerprint");