Skip to content

Commit a4ab6fd

Browse files
committed
Bump version to 1.6.1
1 parent afbf47d commit a4ab6fd

File tree

4 files changed

+27
-8
lines changed

4 files changed

+27
-8
lines changed

app/src/main/kotlin/com/ediposouza/teslesgendstracker/interactor/PrivateInteractor.kt

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -355,7 +355,13 @@ object PrivateInteractor : BaseInteractor() {
355355
getUserCollection(null, attr1, attr2, CardAttribute.DUAL, CardAttribute.NEUTRAL) { userCards ->
356356
val missing = deck.cards.map { it.key to it.value.minus(userCards[it.key] ?: 0) }
357357
.filter { it.second > 0 }
358-
.map { CardMissing(it.first, cards[it.first]!!, it.second) }
358+
.map {
359+
val rarity: CardRarity = cards[it.first] ?: CardRarity.UNKNOWN
360+
if (rarity == CardRarity.UNKNOWN) {
361+
Timber.d(it.first)
362+
}
363+
CardMissing(it.first, rarity, it.second)
364+
}
359365
.filter { it.qtd > 0 }
360366
Timber.d(missing.toString())
361367
onSuccess.invoke(missing)

app/src/main/kotlin/com/ediposouza/teslesgendstracker/ui/seasons/PatchActivity.kt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -98,10 +98,10 @@ class PatchActivity : BaseActivity() {
9898

9999
@SuppressLint("NewApi")
100100
private fun setupEnterAnimation() {
101-
val transition = TransitionInflater.from(this).inflateTransition(R.transition.changebounds_with_arcmotion)
102-
transition.duration = 300
103-
window.sharedElementEnterTransition = transition
104-
transition.addListener(object : Transition.TransitionListener {
101+
val transitionAnim = TransitionInflater.from(this).inflateTransition(R.transition.changebounds_with_arcmotion)
102+
transitionAnim.duration = 300
103+
window.sharedElementEnterTransition = transitionAnim
104+
transitionAnim.addListener(object : Transition.TransitionListener {
105105
override fun onTransitionEnd(transition: Transition) {
106106
initViews()
107107
}

app/src/main/res/raw/changelog.xml

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,18 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<changelog bulletedList="true">
3+
<changelogversion
4+
versionName="1.6.1"
5+
changeDate="July 11, 2017">
6+
<changelogtext>[b]Feature:[/b] Search 'Animal and 'Undead' support</changelogtext>
7+
<changelogtext>[b]Feature:[/b] Search 'Lore' support for show only cards with lore text
8+
</changelogtext>
9+
<changelogtext>Add 20 magicka icon to Alduin</changelogtext>
10+
<changelogtext>Show patch data in old card images</changelogtext>
11+
<changelogtext>Add Twitter button in about dialog, follow app and stay tuned on news!
12+
</changelogtext>
13+
<changelogtext>Update Horned Helm sound</changelogtext>
14+
<changelogtext>Fixes and improvements</changelogtext>
15+
</changelogversion>
316
<changelogversion
417
versionName="1.6.0"
518
changeDate="July 5, 2017">
@@ -190,7 +203,7 @@
190203
<changelogversion
191204
versionName="0.2.2"
192205
changeDate="Dec 30, 2016">
193-
<changelogtext>[b]Feature:[/b] Add DeckQtd and DeckMagika costs to deck activity
206+
<changelogtext>[b]Feature:[/b] Add DeckQtd and DeckMagicka costs to deck activity
194207
</changelogtext>
195208
<changelogtext>[b]Feature:[/b] Comment deck support</changelogtext>
196209
<changelogtext>Add Battlereeve Of Dusk december reward card</changelogtext>

build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22

33
buildscript {
44
ext {
5-
appVersionName = "1.6.0"
6-
appVersionCode = 42
5+
appVersionName = "1.6.1"
6+
appVersionCode = 43
77
prepareToRelease = false
88

99
kotlin_version = "1.1.3-2"

0 commit comments

Comments
 (0)