mirror of
https://github.com/revanced/revanced-manager.git
synced 2025-04-30 05:54: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]()
|
steps[currentStep]()
|
||||||
},
|
},
|
||||||
confirmButton = {
|
confirmButton = {
|
||||||
if (currentStep == steps.size - 1) {
|
if (currentStep == steps.lastIndex) {
|
||||||
TextButton(
|
TextButton(
|
||||||
enabled = inputsAreValid,
|
enabled = inputsAreValid,
|
||||||
onClick = {
|
onClick = {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user