8000 Merge branch 'hotfix/5.63.1' into main · chmodawk/Android@28dfd2a · GitHub
[go: up one dir, main page]

Skip to content 8000

Commit 28dfd2a

Browse files
committed
Merge branch 'hotfix/5.63.1' into main
2 parents 6a97403 + 68a659d commit 28dfd2a

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

app/src/main/java/com/duckduckgo/app/cta/model/DismissedCta.kt

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,8 @@ enum class CtaId {
3131
DAX_DIALOG_OTHER,
3232
DAX_END,
3333
USE_OUR_APP,
34-
USE_OUR_APP_DELETION
34+
USE_OUR_APP_DELETION,
35+
UNKNOWN
3536
}
3637

3738
@Entity(
@@ -46,7 +47,11 @@ data class DismissedCta(
4647

4748
@TypeConverter
4849
fun toId(value: String): CtaId {
49-
return CtaId.valueOf(value)
50+
return try {
51+
CtaId.valueOf(value)
52+
} catch (ex: IllegalArgumentException) {
53+
CtaId.UNKNOWN
54+
}
5055
}
5156

5257
@TypeConverter

app/version/version.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
VERSION=5.63.0
1+
VERSION=5.63.1

0 commit comments

Comments
 (0)
0