Android build v1.0.42

This commit is contained in:
Warren H
2026-06-20 20:49:46 -04:00
parent 224249e372
commit 5aac39c6c9
3 changed files with 6 additions and 10 deletions
+4 -8
View File
@@ -55,7 +55,7 @@ const MENU_ITEMS: Array<{
const LAST_DIFFICULTY_KEY = 'i-want-to-heal:last-difficulty'
const SHOW_LEADERBOARDS = false
const ACTIVITY_PAGE_SIZE = 6
const ACTIVITY_PAGE_SIZE = 4
function activityInitials(name: string) {
return name
@@ -333,8 +333,6 @@ function App() {
(candidate) => candidate.droppedItemLevel === selectedTierItemLevel,
) ?? activity.difficulties[0]
const difficultyLocked = profile.character.level < selectedDifficulty.unlockLevel
const activityCompletionCount = activity.completionCount ?? 0
const marathonUnlocked = activityCompletionCount >= 10
const cloudSync = getCloudSyncStatus()
const canShowCloudSync = account.id !== -1 && cloudSync.available
const lootPreviewEncounters = [...activity.encounters]
@@ -749,9 +747,7 @@ function App() {
<small>
{difficultyLocked
? `Unlocks at level ${selectedDifficulty.unlockLevel}`
: marathonUnlocked
? 'Marathon keeps health and mana between boss kills.'
: `Marathon unlocks after 10 clears (${activityCompletionCount}/10).`}
: 'Marathon keeps health and mana between boss kills.'}
</small>
</div>
<div className="part-picker">
@@ -769,8 +765,8 @@ function App() {
Start Hunt
</button>
<button
className={`primary-button ${selectedMarathonMode ? 'selected-part' : ''} ${!marathonUnlocked ? 'locked' : ''}`}
disabled={difficultyLocked || !marathonUnlocked}
className={`primary-button ${selectedMarathonMode ? 'selected-part' : ''}`}
disabled={difficultyLocked}
onClick={() => {
setSelectedMarathonMode(true)
setCombatContentId(activity.id)