Skip to content

Commit

Permalink
Merge branch 'master' into cs-refill
Browse files Browse the repository at this point in the history
  • Loading branch information
ArthurKun21 authored Jan 16, 2025
2 parents 3b9fbf4 + 8d45fe5 commit 611964b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ fun CardPriorityWaveSelector(
if (selectedWave == items.lastIndex) {
onSelectedWaveChange(items.lastIndex - 1)
}
items.removeLast()
items.removeAt(items.lastIndex)
}
}
) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,9 @@ class SkillMakerViewModel @Inject constructor(
if (skillString.isNotEmpty()) {
m.skillCommand.last().let { l ->
if (l is SkillMakerEntry.Action && l.action is AutoSkillAction.Atk) {
m.skillCommand.removeLast()
// openjdk problem with android 15
// https://developer.android.com/about/versions/15/behavior-changes-15#openjdk-api-changes
m.skillCommand.removeAt(m.skillCommand.lastIndex)
m.skillCommand.add(SkillMakerEntry.Next.Wave(l.action))
}
}
Expand Down

0 comments on commit 611964b

Please sign in to comment.