mirror of
https://github.com/AChep/keyguard-app.git
synced 2025-01-22 18:40:22 +01:00
fix: Correctly highlight the selected wordlist
This commit is contained in:
parent
cea3da4951
commit
6c5c54c830
@ -432,9 +432,11 @@ fun produceGeneratorState(
|
||||
quantity,
|
||||
numberFormatter.formatNumber(quantity),
|
||||
)
|
||||
val selected = wordlistId == null || wordlistId <= 0L
|
||||
this += FlatItemAction(
|
||||
title = TextHolder.Value(defaultWordlistName),
|
||||
text = TextHolder.Value(text),
|
||||
selected = selected,
|
||||
onClick = onSelect
|
||||
.partially1(0),
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user