diff options
author | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-12-04 11:45:27 +0100 |
---|---|---|
committer | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-12-04 11:45:27 +0100 |
commit | 240a307df72bea00c919da8b297b60bb4c14b3f2 (patch) | |
tree | 139a4a9b61bd7134eb568def64c2e53bed1ed4a9 /src | |
parent | b8b15fb7e47563a9bcfda147e5c56585f852f277 (diff) | |
download | skyhanni-240a307df72bea00c919da8b297b60bb4c14b3f2.tar.gz skyhanni-240a307df72bea00c919da8b297b60bb4c14b3f2.tar.bz2 skyhanni-240a307df72bea00c919da8b297b60bb4c14b3f2.zip |
code cleanup
Diffstat (limited to 'src')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/features/bingo/BingoCardDisplay.kt | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/bingo/BingoCardDisplay.kt b/src/main/java/at/hannibal2/skyhanni/features/bingo/BingoCardDisplay.kt index 366e1ff3b..2dc3ca5a6 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/bingo/BingoCardDisplay.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/bingo/BingoCardDisplay.kt @@ -130,15 +130,14 @@ class BingoCardDisplay { slot: Int, done: Boolean ): BingoGoal { - var personalGoal = BingoGoal(name, description, slot, done) if (!done) { personalHiddenGoalPattern.matchMatcher(description) { BingoAPI.tips[name]?.let { - personalGoal = BingoGoal(name, it.getDescriptionLine(), slot, false) + return BingoGoal(name, it.getDescriptionLine(), slot, false) } } } - return personalGoal + return BingoGoal(name, description, slot, done) } private fun getCommunityGoal( |