From 7b68264dd78e739e851d9e2a36c2361da90b6986 Mon Sep 17 00:00:00 2001 From: aminecmi Date: Mon, 21 Nov 2022 20:20:27 +0100 Subject: [PATCH] Cleaning. --- .../bou/amine/apps/readerforselfossv2/android/HomeActivity.kt | 1 - .../java/bou/amine/apps/readerforselfossv2/android/MyApp.kt | 1 - .../amine/apps/readerforselfossv2/android/utils/LinksUtils.kt | 4 ---- 3 files changed, 6 deletions(-) diff --git a/androidApp/src/main/java/bou/amine/apps/readerforselfossv2/android/HomeActivity.kt b/androidApp/src/main/java/bou/amine/apps/readerforselfossv2/android/HomeActivity.kt index d5c0824..814b335 100644 --- a/androidApp/src/main/java/bou/amine/apps/readerforselfossv2/android/HomeActivity.kt +++ b/androidApp/src/main/java/bou/amine/apps/readerforselfossv2/android/HomeActivity.kt @@ -63,7 +63,6 @@ import org.kodein.di.DIAware import org.kodein.di.android.closestDI import org.kodein.di.instance import org.matomo.sdk.Tracker -import org.matomo.sdk.extra.DimensionQueue import org.matomo.sdk.extra.TrackHelper import java.util.concurrent.TimeUnit diff --git a/androidApp/src/main/java/bou/amine/apps/readerforselfossv2/android/MyApp.kt b/androidApp/src/main/java/bou/amine/apps/readerforselfossv2/android/MyApp.kt index 637f2e7..4a4f150 100644 --- a/androidApp/src/main/java/bou/amine/apps/readerforselfossv2/android/MyApp.kt +++ b/androidApp/src/main/java/bou/amine/apps/readerforselfossv2/android/MyApp.kt @@ -51,7 +51,6 @@ class MyApp : MultiDexApplication(), DIAware { private val viewModel: AppViewModel by instance() private val connectivityStatus: ConnectivityStatus by instance() private val driverFactory: DriverFactory by instance() - private val tracker: Tracker by instance() // TODO: handle with the "previous" way private val isConnectionAvailable: MutableStateFlow = MutableStateFlow(true) diff --git a/androidApp/src/main/java/bou/amine/apps/readerforselfossv2/android/utils/LinksUtils.kt b/androidApp/src/main/java/bou/amine/apps/readerforselfossv2/android/utils/LinksUtils.kt index 2dfa44e..aed1e3f 100644 --- a/androidApp/src/main/java/bou/amine/apps/readerforselfossv2/android/utils/LinksUtils.kt +++ b/androidApp/src/main/java/bou/amine/apps/readerforselfossv2/android/utils/LinksUtils.kt @@ -1,13 +1,9 @@ package bou.amine.apps.readerforselfossv2.android.utils import android.app.Activity -import android.app.PendingIntent -import android.content.ActivityNotFoundException import android.content.Context import android.content.Intent -import android.graphics.BitmapFactory import android.net.Uri -import android.os.Build import android.text.Spannable import android.text.style.ClickableSpan import android.util.Patterns