Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 5aac39c6c9 |
Binary file not shown.
@@ -7,8 +7,8 @@ android {
|
|||||||
applicationId "com.warren.iwanttoheal"
|
applicationId "com.warren.iwanttoheal"
|
||||||
minSdkVersion rootProject.ext.minSdkVersion
|
minSdkVersion rootProject.ext.minSdkVersion
|
||||||
targetSdkVersion rootProject.ext.targetSdkVersion
|
targetSdkVersion rootProject.ext.targetSdkVersion
|
||||||
versionCode 61
|
versionCode 62
|
||||||
versionName "1.0.41"
|
versionName "1.0.42"
|
||||||
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
||||||
aaptOptions {
|
aaptOptions {
|
||||||
// Files and dirs to omit from the packaged assets dir, modified to accommodate modern web apps.
|
// Files and dirs to omit from the packaged assets dir, modified to accommodate modern web apps.
|
||||||
|
|||||||
+4
-8
@@ -55,7 +55,7 @@ const MENU_ITEMS: Array<{
|
|||||||
|
|
||||||
const LAST_DIFFICULTY_KEY = 'i-want-to-heal:last-difficulty'
|
const LAST_DIFFICULTY_KEY = 'i-want-to-heal:last-difficulty'
|
||||||
const SHOW_LEADERBOARDS = false
|
const SHOW_LEADERBOARDS = false
|
||||||
const ACTIVITY_PAGE_SIZE = 6
|
const ACTIVITY_PAGE_SIZE = 4
|
||||||
|
|
||||||
function activityInitials(name: string) {
|
function activityInitials(name: string) {
|
||||||
return name
|
return name
|
||||||
@@ -333,8 +333,6 @@ function App() {
|
|||||||
(candidate) => candidate.droppedItemLevel === selectedTierItemLevel,
|
(candidate) => candidate.droppedItemLevel === selectedTierItemLevel,
|
||||||
) ?? activity.difficulties[0]
|
) ?? activity.difficulties[0]
|
||||||
const difficultyLocked = profile.character.level < selectedDifficulty.unlockLevel
|
const difficultyLocked = profile.character.level < selectedDifficulty.unlockLevel
|
||||||
const activityCompletionCount = activity.completionCount ?? 0
|
|
||||||
const marathonUnlocked = activityCompletionCount >= 10
|
|
||||||
const cloudSync = getCloudSyncStatus()
|
const cloudSync = getCloudSyncStatus()
|
||||||
const canShowCloudSync = account.id !== -1 && cloudSync.available
|
const canShowCloudSync = account.id !== -1 && cloudSync.available
|
||||||
const lootPreviewEncounters = [...activity.encounters]
|
const lootPreviewEncounters = [...activity.encounters]
|
||||||
@@ -749,9 +747,7 @@ function App() {
|
|||||||
<small>
|
<small>
|
||||||
{difficultyLocked
|
{difficultyLocked
|
||||||
? `Unlocks at level ${selectedDifficulty.unlockLevel}`
|
? `Unlocks at level ${selectedDifficulty.unlockLevel}`
|
||||||
: marathonUnlocked
|
: 'Marathon keeps health and mana between boss kills.'}
|
||||||
? 'Marathon keeps health and mana between boss kills.'
|
|
||||||
: `Marathon unlocks after 10 clears (${activityCompletionCount}/10).`}
|
|
||||||
</small>
|
</small>
|
||||||
</div>
|
</div>
|
||||||
<div className="part-picker">
|
<div className="part-picker">
|
||||||
@@ -769,8 +765,8 @@ function App() {
|
|||||||
Start Hunt
|
Start Hunt
|
||||||
</button>
|
</button>
|
||||||
<button
|
<button
|
||||||
className={`primary-button ${selectedMarathonMode ? 'selected-part' : ''} ${!marathonUnlocked ? 'locked' : ''}`}
|
className={`primary-button ${selectedMarathonMode ? 'selected-part' : ''}`}
|
||||||
disabled={difficultyLocked || !marathonUnlocked}
|
disabled={difficultyLocked}
|
||||||
onClick={() => {
|
onClick={() => {
|
||||||
setSelectedMarathonMode(true)
|
setSelectedMarathonMode(true)
|
||||||
setCombatContentId(activity.id)
|
setCombatContentId(activity.id)
|
||||||
|
|||||||
Reference in New Issue
Block a user