From 3c25658d3b244005af7e4a502ee729cc70412539 Mon Sep 17 00:00:00 2001 From: YaMiN Date: Fri, 19 May 2023 05:10:52 +0330 Subject: [PATCH] fixed some modifiers --- .../java/io/github/yamin8000/dooz/ad/AdComposables.kt | 2 +- .../irMarket/java/io/github/yamin8000/dooz/ad/AdHelper.kt | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/app/src/irMarket/java/io/github/yamin8000/dooz/ad/AdComposables.kt b/app/src/irMarket/java/io/github/yamin8000/dooz/ad/AdComposables.kt index 37b7990..73d29fb 100644 --- a/app/src/irMarket/java/io/github/yamin8000/dooz/ad/AdComposables.kt +++ b/app/src/irMarket/java/io/github/yamin8000/dooz/ad/AdComposables.kt @@ -31,7 +31,7 @@ import androidx.compose.ui.viewinterop.AndroidView import io.github.yamin8000.dooz.R @Composable -fun TapsellAdContent( +internal fun TapsellAdContent( modifier: Modifier = Modifier, onCreated: (ViewGroup) -> Unit, onUpdate: (ViewGroup) -> Unit diff --git a/app/src/irMarket/java/io/github/yamin8000/dooz/ad/AdHelper.kt b/app/src/irMarket/java/io/github/yamin8000/dooz/ad/AdHelper.kt index df3e6f4..eec6795 100644 --- a/app/src/irMarket/java/io/github/yamin8000/dooz/ad/AdHelper.kt +++ b/app/src/irMarket/java/io/github/yamin8000/dooz/ad/AdHelper.kt @@ -34,9 +34,9 @@ import kotlinx.coroutines.suspendCancellableCoroutine import kotlin.coroutines.resume import kotlin.coroutines.suspendCoroutine -object AdHelper { +internal object AdHelper { - suspend fun showTapsellAd( + internal suspend fun showTapsellAd( activity: Activity, adId: String, adView: ViewGroup? @@ -58,7 +58,7 @@ object AdHelper { }) } - suspend fun requestTapsellAd( + internal suspend fun requestTapsellAd( activity: Activity ) = suspendCancellableCoroutine { cancellableContinuation -> TapsellPlus.requestStandardBannerAd(