mirror of
https://github.com/ReVanced/revanced-manager.git
synced 2024-11-10 01:01:56 +01:00
refactor: Use lastIndex
Co-authored-by: Ax333l <main@axelen.xyz>
This commit is contained in:
parent
b26fe30861
commit
b8a85c4891
1 changed files with 1 additions and 1 deletions
|
@ -109,7 +109,7 @@ fun ImportPatchBundleDialog(
|
|||
steps[currentStep]()
|
||||
},
|
||||
confirmButton = {
|
||||
if (currentStep == steps.size - 1) {
|
||||
if (currentStep == steps.lastIndex) {
|
||||
TextButton(
|
||||
enabled = inputsAreValid,
|
||||
onClick = {
|
||||
|
|
Loading…
Reference in a new issue