mirror of
https://github.com/revanced/revanced-manager.git
synced 2025-04-29 21:44:26 +02:00
refactor: Use lastIndex
Co-authored-by: Ax333l <main@axelen.xyz>
This commit is contained in:
parent
b26fe30861
commit
b8a85c4891
@ -109,7 +109,7 @@ fun ImportPatchBundleDialog(
|
||||
steps[currentStep]()
|
||||
},
|
||||
confirmButton = {
|
||||
if (currentStep == steps.size - 1) {
|
||||
if (currentStep == steps.lastIndex) {
|
||||
TextButton(
|
||||
enabled = inputsAreValid,
|
||||
onClick = {
|
||||
|
Loading…
x
Reference in New Issue
Block a user