Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import com.into.websoso.core.common.ui.base.BaseBottomSheetDialog
import com.into.websoso.core.common.util.InfiniteScrollListener
import com.into.websoso.core.common.util.SingleEventHandler
import com.into.websoso.core.common.util.tracker.Tracker
import com.into.websoso.core.resource.R.string.inquire_link
import com.into.websoso.core.resource.R.string.novel_inquire_link
import com.into.websoso.databinding.DialogCreateFeedSearchNovelBinding
import com.into.websoso.ui.createFeed.adapter.SearchNovelAdapter
import com.into.websoso.ui.createFeed.adapter.SearchNovelItemType.Loading
Expand Down Expand Up @@ -130,7 +130,7 @@ class CreateFeedSearchNovelBottomSheetDialog :

private fun setupNavigateToInquireNovel() {
tracker.trackEvent("contact_novel_connect")
val inquireUrl = getString(inquire_link)
val inquireUrl = getString(novel_inquire_link)
val intent = Intent(Intent.ACTION_VIEW, Uri.parse(inquireUrl))
binding.tvCreateFeedAddNovelInquireButton.setOnClickListener {
startActivity(intent)
Expand Down
4 changes: 4 additions & 0 deletions core/resource/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,8 @@ plugins {
android {
namespace = "com.into.websoso.core.resource"
compileSdk = 34

defaultConfig {
minSdk = 30
}
}
4 changes: 2 additions & 2 deletions core/resource/src/main/res/values/deepLinks.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="inquire_link">https://websoso.notion.site/144600bd746881d4b012fbaf586c264d?pvs=105</string>
<string name="novel_inquire_link">https://websoso.notion.site/1c4600bd7468817f9b48e6644c0b6720</string>
<string name="inquire_link">https://www.notion.so/helpwebsoso/241a9688d1a381548c20dd314d0a0b0a?pvs=106</string>
<string name="novel_inquire_link">https://helpwebsoso.notion.site/241a9688d1a38164b3f8efd0b51edaab</string>
<string name="websoso_official">https://www.instagram.com/websoso_official/</string>
<string name="terms_of_use_link">https://websoso.notion.site/143600bd74688050be18f4da31d9403e?pvs=4</string>
<string name="privacy_policy_link">https://websoso.notion.site/143600bd746880668556fb005fcef491?pvs=4</string>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
package com.into.websoso.feature.library.filter.component

import android.annotation.SuppressLint
import androidx.compose.foundation.layout.Arrangement
import androidx.compose.foundation.layout.Row
import androidx.compose.foundation.layout.fillMaxWidth
Expand All @@ -23,7 +22,6 @@ import com.into.websoso.domain.library.model.AttractivePoint.VIBE
import com.into.websoso.domain.library.model.AttractivePoint.WORLDVIEW
import com.into.websoso.domain.library.model.AttractivePoints

@SuppressLint("ResourceType")
@Composable
internal fun LibraryFilterBottomSheetAttractivePoints(
attractivePoints: AttractivePoints,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package com.into.websoso.feature.library.filter.component

import android.annotation.SuppressLint
import androidx.annotation.IntegerRes
import androidx.annotation.DrawableRes
import androidx.compose.foundation.clickable
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.Spacer
Expand All @@ -24,11 +23,10 @@ import com.into.websoso.core.designsystem.theme.Primary100
import com.into.websoso.core.designsystem.theme.WebsosoTheme
import com.into.websoso.core.resource.R

@SuppressLint("ResourceType")
@Composable
internal fun LibraryFilterBottomSheetClickableItem(
onClick: () -> Unit,
@IntegerRes icon: Int,
@DrawableRes icon: Int,
iconTitle: String,
iconSize: Dp,
horizontalPadding: Dp,
Expand Down