Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ddef3203 authored by Helen Qin's avatar Helen Qin
Browse files

Unlocked empty auth entry shouldn't be clickable anymore

Bug: 281615348
Fix: 281615348
Test: manual (see bug for recording)
Change-Id: I4a1b42a3624c65bdddad593fc77770422f72fbe1
parent fcdac40e
Loading
Loading
Loading
Loading
+6 −1
Original line number Diff line number Diff line
@@ -561,7 +561,12 @@ fun AuthenticationEntryRow(
    enforceOneLine: Boolean = false,
) {
    Entry(
        onClick = { onEntrySelected(authenticationEntryInfo) },
        onClick = if (authenticationEntryInfo.isUnlockedAndEmpty) {
            {}
        } // No-op
        else {
            { onEntrySelected(authenticationEntryInfo) }
        },
        iconImageBitmap = authenticationEntryInfo.icon.toBitmap().asImageBitmap(),
        entryHeadlineText = authenticationEntryInfo.title,
        entrySecondLineText = stringResource(