We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 201718d commit fb874afCopy full SHA for fb874af
app/src/main/java/com/yogeshpaliyal/deepr/ui/screens/home/HomeBottomContent.kt
@@ -114,7 +114,7 @@ fun HomeBottomContent(
114
// Normalize the link before saving
115
val normalizedLink = normalizeLink(deeprInfo.link)
116
117
- if (deeprQueries.getDeeprByLink(normalizedLink).executeAsOneOrNull() != null) {
+ if (isCreate && deeprQueries.getDeeprByLink(normalizedLink).executeAsOneOrNull() != null) {
118
Toast.makeText(context, deeplinkExistsText, Toast.LENGTH_SHORT).show()
119
return@save
120
}
0 commit comments