From eef776db8bf26556f9e9cbd716d243d1c190c3ce Mon Sep 17 00:00:00 2001 From: Kirill Taran Date: Tue, 25 Jul 2023 18:16:50 +0300 Subject: [PATCH] New package name --- app/build.gradle | 2 +- app/release/output-metadata.json | 4 ++-- .../exchange/ExampleInstrumentedTest.kt | 4 ++-- app/src/main/AndroidManifest.xml | 4 ++-- .../java/space/taran/arkrate/data/Alias.kt | 2 +- .../taran/arkrate/data/CurrencyAmount.kt | 2 +- .../space/taran/arkrate/data/CurrencyName.kt | 2 +- .../space/taran/arkrate/data/CurrencyRate.kt | 2 +- .../space/taran/arkrate/data/CurrencyRepo.kt | 10 ++++----- .../space/taran/arkrate/data/CurrencyType.kt | 2 +- .../taran/arkrate/data/GeneralCurrencyRepo.kt | 6 ++--- .../taran/arkrate/data/PairAlertCondition.kt | 2 +- .../taran/arkrate/data/assets/AssetsRepo.kt | 8 +++---- .../taran/arkrate/data/crypto/CryptoAPI.kt | 2 +- .../arkrate/data/crypto/CryptoCurrencyRepo.kt | 16 +++++++------- .../data/crypto/CryptoRatesResponse.kt | 2 +- .../space/taran/arkrate/data/db/AssetsDao.kt | 6 ++--- .../taran/arkrate/data/db/CurrencyRateDao.kt | 8 +++---- .../space/taran/arkrate/data/db/Database.kt | 2 +- .../arkrate/data/db/FetchTimestampDao.kt | 4 ++-- .../arkrate/data/db/PairAlertConditionRepo.kt | 4 ++-- .../space/taran/arkrate/data/fiat/FiatAPI.kt | 2 +- .../arkrate/data/fiat/FiatCurrencyRepo.kt | 16 +++++++------- .../arkrate/data/fiat/FiatRateResponse.kt | 2 +- .../arkrate/data/network/NetworkStatus.kt | 2 +- .../data/network/OkHttpClientBuilder.kt | 2 +- .../data/worker/CurrencyMonitorWorker.kt | 14 ++++++------ .../space/taran/arkrate/di/AppComponent.kt | 22 +++++++++---------- .../java/space/taran/arkrate/di/DIManager.kt | 2 +- .../space/taran/arkrate/di/NavDepContainer.kt | 6 ++--- .../taran/arkrate/di/module/ApiModule.kt | 8 +++---- .../space/taran/arkrate/di/module/DBModule.kt | 6 ++--- .../space/taran/arkrate/presentation/App.kt | 10 ++++----- .../arkrate/presentation/MainActivity.kt | 6 ++--- .../taran/arkrate/presentation/MainScreen.kt | 8 +++---- .../addcurrency/AddCurrencyScreen.kt | 12 +++++----- .../addcurrency/AddCurrencyViewModel.kt | 12 +++++----- .../presentation/assets/AssetsScreen.kt | 12 +++++----- .../presentation/assets/AssetsViewModel.kt | 6 ++--- .../pairalert/PairAlertConditionScreen.kt | 14 ++++++------ .../presentation/shared/SharedViewModel.kt | 8 +++---- .../presentation/summary/SummaryScreen.kt | 4 ++-- .../presentation/summary/SummaryViewModel.kt | 6 ++--- .../taran/arkrate/presentation/theme/Color.kt | 2 +- .../taran/arkrate/presentation/theme/Shape.kt | 2 +- .../taran/arkrate/presentation/theme/Theme.kt | 2 +- .../taran/arkrate/presentation/theme/Type.kt | 2 +- .../presentation/ui/BottomNavigation.kt | 12 +++++----- .../arkrate/presentation/ui/RateScaffold.kt | 10 ++++----- .../presentation/utils/NotificationUtils.kt | 8 +++---- .../presentation/utils/ViewModelUtils.kt | 6 ++--- .../taran/arkrate/utils/CollectionsUtils.kt | 2 +- .../space/taran/arkrate/utils/Constants.kt | 2 +- .../taran/arkrate/utils/CoroutineUtils.kt | 2 +- .../space/taran/arkrate/utils/FormatUtils.kt | 2 +- .../com/someone/exchange/ExampleUnitTest.kt | 2 +- 56 files changed, 164 insertions(+), 164 deletions(-) diff --git a/app/build.gradle b/app/build.gradle index e1f87b212..c835fe2f3 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -9,7 +9,7 @@ android { compileSdk 33 defaultConfig { - applicationId "space.taran.arkrate" + applicationId "dev.arkbuilders.rate" minSdk 23 targetSdk 33 versionCode 1 diff --git a/app/release/output-metadata.json b/app/release/output-metadata.json index 984dff569..b2cf64d3d 100644 --- a/app/release/output-metadata.json +++ b/app/release/output-metadata.json @@ -4,7 +4,7 @@ "type": "APK", "kind": "Directory" }, - "applicationId": "space.taran.arkrate", + "applicationId": "dev.arkbuilders.rate", "variantName": "release", "elements": [ { @@ -17,4 +17,4 @@ } ], "elementType": "File" -} \ No newline at end of file +} diff --git a/app/src/androidTest/java/com/someone/exchange/ExampleInstrumentedTest.kt b/app/src/androidTest/java/com/someone/exchange/ExampleInstrumentedTest.kt index 8d159bcd4..e1afaaac2 100644 --- a/app/src/androidTest/java/com/someone/exchange/ExampleInstrumentedTest.kt +++ b/app/src/androidTest/java/com/someone/exchange/ExampleInstrumentedTest.kt @@ -1,4 +1,4 @@ -package space.taran.arkrate +package dev.arkbuilders.rate import androidx.test.ext.junit.runners.AndroidJUnit4 import androidx.test.platform.app.InstrumentationRegistry @@ -17,6 +17,6 @@ class ExampleInstrumentedTest { fun useAppContext() { // Context of the app under test. val appContext = InstrumentationRegistry.getInstrumentation().targetContext - assertEquals("space.taran.ArkRate", appContext.packageName) + assertEquals("dev.arkbuilders.rate", appContext.packageName) } } diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml index 055cfd994..0f84e4fed 100644 --- a/app/src/main/AndroidManifest.xml +++ b/app/src/main/AndroidManifest.xml @@ -1,7 +1,7 @@ + package="dev.arkbuilders.rate"> @@ -32,4 +32,4 @@ - \ No newline at end of file + diff --git a/app/src/main/java/space/taran/arkrate/data/Alias.kt b/app/src/main/java/space/taran/arkrate/data/Alias.kt index 12294f491..b0fd7c623 100644 --- a/app/src/main/java/space/taran/arkrate/data/Alias.kt +++ b/app/src/main/java/space/taran/arkrate/data/Alias.kt @@ -1,3 +1,3 @@ -package space.taran.arkrate.data +package dev.arkbuilders.rate.data typealias CurrencyCode = String \ No newline at end of file diff --git a/app/src/main/java/space/taran/arkrate/data/CurrencyAmount.kt b/app/src/main/java/space/taran/arkrate/data/CurrencyAmount.kt index 4ce0c1db1..e0ba72e4e 100644 --- a/app/src/main/java/space/taran/arkrate/data/CurrencyAmount.kt +++ b/app/src/main/java/space/taran/arkrate/data/CurrencyAmount.kt @@ -1,4 +1,4 @@ -package space.taran.arkrate.data +package dev.arkbuilders.rate.data data class CurrencyAmount( val id: Long = 0, diff --git a/app/src/main/java/space/taran/arkrate/data/CurrencyName.kt b/app/src/main/java/space/taran/arkrate/data/CurrencyName.kt index 70f390fe8..6eae5b173 100644 --- a/app/src/main/java/space/taran/arkrate/data/CurrencyName.kt +++ b/app/src/main/java/space/taran/arkrate/data/CurrencyName.kt @@ -1,4 +1,4 @@ -package space.taran.arkrate.data +package dev.arkbuilders.rate.data data class CurrencyName( val code: CurrencyCode, diff --git a/app/src/main/java/space/taran/arkrate/data/CurrencyRate.kt b/app/src/main/java/space/taran/arkrate/data/CurrencyRate.kt index b0baa3fe9..72b9ab54d 100644 --- a/app/src/main/java/space/taran/arkrate/data/CurrencyRate.kt +++ b/app/src/main/java/space/taran/arkrate/data/CurrencyRate.kt @@ -1,4 +1,4 @@ -package space.taran.arkrate.data +package dev.arkbuilders.rate.data data class CurrencyRate( val code: CurrencyCode, diff --git a/app/src/main/java/space/taran/arkrate/data/CurrencyRepo.kt b/app/src/main/java/space/taran/arkrate/data/CurrencyRepo.kt index dfce65b42..19b6048c6 100644 --- a/app/src/main/java/space/taran/arkrate/data/CurrencyRepo.kt +++ b/app/src/main/java/space/taran/arkrate/data/CurrencyRepo.kt @@ -1,13 +1,13 @@ -package space.taran.arkrate.data +package dev.arkbuilders.rate.data import android.util.Log import kotlinx.coroutines.Dispatchers import kotlinx.coroutines.launch import kotlinx.coroutines.sync.Mutex -import space.taran.arkrate.data.db.CurrencyRateLocalDataSource -import space.taran.arkrate.data.db.FetchTimestampDataSource -import space.taran.arkrate.data.network.NetworkStatus -import space.taran.arkrate.utils.withContextAndLock +import dev.arkbuilders.rate.data.db.CurrencyRateLocalDataSource +import dev.arkbuilders.rate.data.db.FetchTimestampDataSource +import dev.arkbuilders.rate.data.network.NetworkStatus +import dev.arkbuilders.rate.utils.withContextAndLock import java.util.concurrent.TimeUnit abstract class CurrencyRepo( diff --git a/app/src/main/java/space/taran/arkrate/data/CurrencyType.kt b/app/src/main/java/space/taran/arkrate/data/CurrencyType.kt index 094391899..f3c898c60 100644 --- a/app/src/main/java/space/taran/arkrate/data/CurrencyType.kt +++ b/app/src/main/java/space/taran/arkrate/data/CurrencyType.kt @@ -1,4 +1,4 @@ -package space.taran.arkrate.data +package dev.arkbuilders.rate.data enum class CurrencyType { FIAT, CRYPTO diff --git a/app/src/main/java/space/taran/arkrate/data/GeneralCurrencyRepo.kt b/app/src/main/java/space/taran/arkrate/data/GeneralCurrencyRepo.kt index 896247077..7e982014a 100644 --- a/app/src/main/java/space/taran/arkrate/data/GeneralCurrencyRepo.kt +++ b/app/src/main/java/space/taran/arkrate/data/GeneralCurrencyRepo.kt @@ -1,7 +1,7 @@ -package space.taran.arkrate.data +package dev.arkbuilders.rate.data -import space.taran.arkrate.data.crypto.CryptoCurrencyRepo -import space.taran.arkrate.data.fiat.FiatCurrencyRepo +import dev.arkbuilders.rate.data.crypto.CryptoCurrencyRepo +import dev.arkbuilders.rate.data.fiat.FiatCurrencyRepo import javax.inject.Inject import javax.inject.Singleton diff --git a/app/src/main/java/space/taran/arkrate/data/PairAlertCondition.kt b/app/src/main/java/space/taran/arkrate/data/PairAlertCondition.kt index 0e314fe9c..c5ab25c4d 100644 --- a/app/src/main/java/space/taran/arkrate/data/PairAlertCondition.kt +++ b/app/src/main/java/space/taran/arkrate/data/PairAlertCondition.kt @@ -1,4 +1,4 @@ -package space.taran.arkrate.data +package dev.arkbuilders.rate.data data class PairAlertCondition( val id: Long, diff --git a/app/src/main/java/space/taran/arkrate/data/assets/AssetsRepo.kt b/app/src/main/java/space/taran/arkrate/data/assets/AssetsRepo.kt index ec50493e7..6d55be571 100644 --- a/app/src/main/java/space/taran/arkrate/data/assets/AssetsRepo.kt +++ b/app/src/main/java/space/taran/arkrate/data/assets/AssetsRepo.kt @@ -1,11 +1,11 @@ -package space.taran.arkrate.data.assets +package dev.arkbuilders.rate.data.assets import kotlinx.coroutines.Dispatchers import kotlinx.coroutines.flow.Flow import kotlinx.coroutines.withContext -import space.taran.arkrate.data.CurrencyAmount -import space.taran.arkrate.data.db.AssetsLocalDataSource -import space.taran.arkrate.data.CurrencyCode +import dev.arkbuilders.rate.data.CurrencyAmount +import dev.arkbuilders.rate.data.db.AssetsLocalDataSource +import dev.arkbuilders.rate.data.CurrencyCode import javax.inject.Inject import javax.inject.Singleton diff --git a/app/src/main/java/space/taran/arkrate/data/crypto/CryptoAPI.kt b/app/src/main/java/space/taran/arkrate/data/crypto/CryptoAPI.kt index a4c2ca733..2f5b6d858 100644 --- a/app/src/main/java/space/taran/arkrate/data/crypto/CryptoAPI.kt +++ b/app/src/main/java/space/taran/arkrate/data/crypto/CryptoAPI.kt @@ -1,4 +1,4 @@ -package space.taran.arkrate.data.crypto +package dev.arkbuilders.rate.data.crypto import retrofit2.http.GET diff --git a/app/src/main/java/space/taran/arkrate/data/crypto/CryptoCurrencyRepo.kt b/app/src/main/java/space/taran/arkrate/data/crypto/CryptoCurrencyRepo.kt index 5ca5c0bec..a84d31f9c 100644 --- a/app/src/main/java/space/taran/arkrate/data/crypto/CryptoCurrencyRepo.kt +++ b/app/src/main/java/space/taran/arkrate/data/crypto/CryptoCurrencyRepo.kt @@ -1,12 +1,12 @@ -package space.taran.arkrate.data.crypto +package dev.arkbuilders.rate.data.crypto -import space.taran.arkrate.data.CurrencyName -import space.taran.arkrate.data.CurrencyRate -import space.taran.arkrate.data.CurrencyRepo -import space.taran.arkrate.data.CurrencyType -import space.taran.arkrate.data.network.NetworkStatus -import space.taran.arkrate.data.db.CurrencyRateLocalDataSource -import space.taran.arkrate.data.db.FetchTimestampDataSource +import dev.arkbuilders.rate.data.CurrencyName +import dev.arkbuilders.rate.data.CurrencyRate +import dev.arkbuilders.rate.data.CurrencyRepo +import dev.arkbuilders.rate.data.CurrencyType +import dev.arkbuilders.rate.data.network.NetworkStatus +import dev.arkbuilders.rate.data.db.CurrencyRateLocalDataSource +import dev.arkbuilders.rate.data.db.FetchTimestampDataSource import javax.inject.Inject import javax.inject.Singleton diff --git a/app/src/main/java/space/taran/arkrate/data/crypto/CryptoRatesResponse.kt b/app/src/main/java/space/taran/arkrate/data/crypto/CryptoRatesResponse.kt index 805ed4db2..97c746568 100644 --- a/app/src/main/java/space/taran/arkrate/data/crypto/CryptoRatesResponse.kt +++ b/app/src/main/java/space/taran/arkrate/data/crypto/CryptoRatesResponse.kt @@ -1,4 +1,4 @@ -package space.taran.arkrate.data.crypto +package dev.arkbuilders.rate.data.crypto data class CryptoRateResponse( val symbol: String, diff --git a/app/src/main/java/space/taran/arkrate/data/db/AssetsDao.kt b/app/src/main/java/space/taran/arkrate/data/db/AssetsDao.kt index df47ac258..8e176fab6 100644 --- a/app/src/main/java/space/taran/arkrate/data/db/AssetsDao.kt +++ b/app/src/main/java/space/taran/arkrate/data/db/AssetsDao.kt @@ -1,4 +1,4 @@ -package space.taran.arkrate.data.db +package dev.arkbuilders.rate.data.db import androidx.room.Dao import androidx.room.Entity @@ -8,8 +8,8 @@ import androidx.room.PrimaryKey import androidx.room.Query import kotlinx.coroutines.flow.Flow import kotlinx.coroutines.flow.map -import space.taran.arkrate.data.CurrencyAmount -import space.taran.arkrate.data.CurrencyCode +import dev.arkbuilders.rate.data.CurrencyAmount +import dev.arkbuilders.rate.data.CurrencyCode import javax.inject.Inject @Entity diff --git a/app/src/main/java/space/taran/arkrate/data/db/CurrencyRateDao.kt b/app/src/main/java/space/taran/arkrate/data/db/CurrencyRateDao.kt index 89d2f1fdd..a0224e7fc 100644 --- a/app/src/main/java/space/taran/arkrate/data/db/CurrencyRateDao.kt +++ b/app/src/main/java/space/taran/arkrate/data/db/CurrencyRateDao.kt @@ -1,4 +1,4 @@ -package space.taran.arkrate.data.db +package dev.arkbuilders.rate.data.db import androidx.room.Dao import androidx.room.Entity @@ -6,9 +6,9 @@ import androidx.room.Insert import androidx.room.OnConflictStrategy import androidx.room.PrimaryKey import androidx.room.Query -import space.taran.arkrate.data.CurrencyRate -import space.taran.arkrate.data.CurrencyType -import space.taran.arkrate.data.CurrencyCode +import dev.arkbuilders.rate.data.CurrencyRate +import dev.arkbuilders.rate.data.CurrencyType +import dev.arkbuilders.rate.data.CurrencyCode import javax.inject.Inject @Entity diff --git a/app/src/main/java/space/taran/arkrate/data/db/Database.kt b/app/src/main/java/space/taran/arkrate/data/db/Database.kt index 4f7a47539..e02aa8964 100644 --- a/app/src/main/java/space/taran/arkrate/data/db/Database.kt +++ b/app/src/main/java/space/taran/arkrate/data/db/Database.kt @@ -1,4 +1,4 @@ -package space.taran.arkrate.data.db +package dev.arkbuilders.rate.data.db import androidx.room.AutoMigration import androidx.room.RoomDatabase diff --git a/app/src/main/java/space/taran/arkrate/data/db/FetchTimestampDao.kt b/app/src/main/java/space/taran/arkrate/data/db/FetchTimestampDao.kt index e0cba28b3..f28c16080 100644 --- a/app/src/main/java/space/taran/arkrate/data/db/FetchTimestampDao.kt +++ b/app/src/main/java/space/taran/arkrate/data/db/FetchTimestampDao.kt @@ -1,4 +1,4 @@ -package space.taran.arkrate.data.db +package dev.arkbuilders.rate.data.db import androidx.room.Dao import androidx.room.Entity @@ -6,7 +6,7 @@ import androidx.room.Insert import androidx.room.OnConflictStrategy import androidx.room.PrimaryKey import androidx.room.Query -import space.taran.arkrate.data.CurrencyType +import dev.arkbuilders.rate.data.CurrencyType import javax.inject.Inject @Entity diff --git a/app/src/main/java/space/taran/arkrate/data/db/PairAlertConditionRepo.kt b/app/src/main/java/space/taran/arkrate/data/db/PairAlertConditionRepo.kt index 5087d3f95..e27e642be 100644 --- a/app/src/main/java/space/taran/arkrate/data/db/PairAlertConditionRepo.kt +++ b/app/src/main/java/space/taran/arkrate/data/db/PairAlertConditionRepo.kt @@ -1,4 +1,4 @@ -package space.taran.arkrate.data.db +package dev.arkbuilders.rate.data.db import androidx.room.Dao import androidx.room.Entity @@ -6,7 +6,7 @@ import androidx.room.Insert import androidx.room.OnConflictStrategy import androidx.room.PrimaryKey import androidx.room.Query -import space.taran.arkrate.data.PairAlertCondition +import dev.arkbuilders.rate.data.PairAlertCondition import javax.inject.Inject import javax.inject.Singleton diff --git a/app/src/main/java/space/taran/arkrate/data/fiat/FiatAPI.kt b/app/src/main/java/space/taran/arkrate/data/fiat/FiatAPI.kt index 9f6024b1f..ef0eaf746 100644 --- a/app/src/main/java/space/taran/arkrate/data/fiat/FiatAPI.kt +++ b/app/src/main/java/space/taran/arkrate/data/fiat/FiatAPI.kt @@ -1,4 +1,4 @@ -package space.taran.arkrate.data.fiat +package dev.arkbuilders.rate.data.fiat import retrofit2.http.GET diff --git a/app/src/main/java/space/taran/arkrate/data/fiat/FiatCurrencyRepo.kt b/app/src/main/java/space/taran/arkrate/data/fiat/FiatCurrencyRepo.kt index 4727de658..f8d4b8d40 100644 --- a/app/src/main/java/space/taran/arkrate/data/fiat/FiatCurrencyRepo.kt +++ b/app/src/main/java/space/taran/arkrate/data/fiat/FiatCurrencyRepo.kt @@ -1,12 +1,12 @@ -package space.taran.arkrate.data.fiat +package dev.arkbuilders.rate.data.fiat -import space.taran.arkrate.data.CurrencyName -import space.taran.arkrate.data.CurrencyRate -import space.taran.arkrate.data.CurrencyRepo -import space.taran.arkrate.data.CurrencyType -import space.taran.arkrate.data.network.NetworkStatus -import space.taran.arkrate.data.db.CurrencyRateLocalDataSource -import space.taran.arkrate.data.db.FetchTimestampDataSource +import dev.arkbuilders.rate.data.CurrencyName +import dev.arkbuilders.rate.data.CurrencyRate +import dev.arkbuilders.rate.data.CurrencyRepo +import dev.arkbuilders.rate.data.CurrencyType +import dev.arkbuilders.rate.data.network.NetworkStatus +import dev.arkbuilders.rate.data.db.CurrencyRateLocalDataSource +import dev.arkbuilders.rate.data.db.FetchTimestampDataSource import javax.inject.Inject import javax.inject.Singleton diff --git a/app/src/main/java/space/taran/arkrate/data/fiat/FiatRateResponse.kt b/app/src/main/java/space/taran/arkrate/data/fiat/FiatRateResponse.kt index 81d35079a..43242ef34 100644 --- a/app/src/main/java/space/taran/arkrate/data/fiat/FiatRateResponse.kt +++ b/app/src/main/java/space/taran/arkrate/data/fiat/FiatRateResponse.kt @@ -1,4 +1,4 @@ -package space.taran.arkrate.data.fiat +package dev.arkbuilders.rate.data.fiat data class FiatRateResponse( val timestamp: Long, diff --git a/app/src/main/java/space/taran/arkrate/data/network/NetworkStatus.kt b/app/src/main/java/space/taran/arkrate/data/network/NetworkStatus.kt index 2ebc5166a..b758a314a 100644 --- a/app/src/main/java/space/taran/arkrate/data/network/NetworkStatus.kt +++ b/app/src/main/java/space/taran/arkrate/data/network/NetworkStatus.kt @@ -1,4 +1,4 @@ -package space.taran.arkrate.data.network +package dev.arkbuilders.rate.data.network import android.content.Context import android.net.ConnectivityManager diff --git a/app/src/main/java/space/taran/arkrate/data/network/OkHttpClientBuilder.kt b/app/src/main/java/space/taran/arkrate/data/network/OkHttpClientBuilder.kt index cfbba7e5b..c5253728e 100644 --- a/app/src/main/java/space/taran/arkrate/data/network/OkHttpClientBuilder.kt +++ b/app/src/main/java/space/taran/arkrate/data/network/OkHttpClientBuilder.kt @@ -1,4 +1,4 @@ -package space.taran.arkrate.data.network +package dev.arkbuilders.rate.data.network import android.content.Context import android.webkit.WebSettings diff --git a/app/src/main/java/space/taran/arkrate/data/worker/CurrencyMonitorWorker.kt b/app/src/main/java/space/taran/arkrate/data/worker/CurrencyMonitorWorker.kt index cb7255730..0d19c7065 100644 --- a/app/src/main/java/space/taran/arkrate/data/worker/CurrencyMonitorWorker.kt +++ b/app/src/main/java/space/taran/arkrate/data/worker/CurrencyMonitorWorker.kt @@ -1,14 +1,14 @@ -package space.taran.arkrate.data.worker +package dev.arkbuilders.rate.data.worker import android.content.Context import androidx.work.CoroutineWorker import androidx.work.WorkerParameters -import space.taran.arkrate.data.CurrencyRate -import space.taran.arkrate.data.GeneralCurrencyRepo -import space.taran.arkrate.data.db.PairAlertConditionRepo -import space.taran.arkrate.di.DIManager -import space.taran.arkrate.data.PairAlertCondition -import space.taran.arkrate.presentation.utils.NotificationUtils +import dev.arkbuilders.rate.data.CurrencyRate +import dev.arkbuilders.rate.data.GeneralCurrencyRepo +import dev.arkbuilders.rate.data.db.PairAlertConditionRepo +import dev.arkbuilders.rate.di.DIManager +import dev.arkbuilders.rate.data.PairAlertCondition +import dev.arkbuilders.rate.presentation.utils.NotificationUtils import javax.inject.Inject class CurrencyMonitorWorker(val context: Context, params: WorkerParameters) : diff --git a/app/src/main/java/space/taran/arkrate/di/AppComponent.kt b/app/src/main/java/space/taran/arkrate/di/AppComponent.kt index b2f50cb31..bb6dad745 100644 --- a/app/src/main/java/space/taran/arkrate/di/AppComponent.kt +++ b/app/src/main/java/space/taran/arkrate/di/AppComponent.kt @@ -1,19 +1,19 @@ -package space.taran.arkrate.di +package dev.arkbuilders.rate.di import android.app.Application import android.content.Context import dagger.BindsInstance import dagger.Component -import space.taran.arkrate.data.GeneralCurrencyRepo -import space.taran.arkrate.data.assets.AssetsRepo -import space.taran.arkrate.data.worker.CurrencyMonitorWorker -import space.taran.arkrate.di.module.ApiModule -import space.taran.arkrate.di.module.DBModule -import space.taran.arkrate.presentation.summary.SummaryViewModelFactory -import space.taran.arkrate.presentation.addcurrency.AddCurrencyViewModelFactory -import space.taran.arkrate.presentation.assets.AssetsViewModelFactory -import space.taran.arkrate.presentation.shared.SharedViewModel -import space.taran.arkrate.presentation.shared.SharedViewModelFactory +import dev.arkbuilders.rate.data.GeneralCurrencyRepo +import dev.arkbuilders.rate.data.assets.AssetsRepo +import dev.arkbuilders.rate.data.worker.CurrencyMonitorWorker +import dev.arkbuilders.rate.di.module.ApiModule +import dev.arkbuilders.rate.di.module.DBModule +import dev.arkbuilders.rate.presentation.summary.SummaryViewModelFactory +import dev.arkbuilders.rate.presentation.addcurrency.AddCurrencyViewModelFactory +import dev.arkbuilders.rate.presentation.assets.AssetsViewModelFactory +import dev.arkbuilders.rate.presentation.shared.SharedViewModel +import dev.arkbuilders.rate.presentation.shared.SharedViewModelFactory import javax.inject.Singleton @Singleton diff --git a/app/src/main/java/space/taran/arkrate/di/DIManager.kt b/app/src/main/java/space/taran/arkrate/di/DIManager.kt index d264925cc..75de842ca 100644 --- a/app/src/main/java/space/taran/arkrate/di/DIManager.kt +++ b/app/src/main/java/space/taran/arkrate/di/DIManager.kt @@ -1,4 +1,4 @@ -package space.taran.arkrate.di +package dev.arkbuilders.rate.di import android.app.Application diff --git a/app/src/main/java/space/taran/arkrate/di/NavDepContainer.kt b/app/src/main/java/space/taran/arkrate/di/NavDepContainer.kt index 14e0be8fc..1757a5752 100644 --- a/app/src/main/java/space/taran/arkrate/di/NavDepContainer.kt +++ b/app/src/main/java/space/taran/arkrate/di/NavDepContainer.kt @@ -1,8 +1,8 @@ -package space.taran.arkrate.di +package dev.arkbuilders.rate.di import androidx.lifecycle.SavedStateHandle -import space.taran.arkrate.presentation.MainActivity -import space.taran.arkrate.presentation.shared.SharedViewModel +import dev.arkbuilders.rate.presentation.MainActivity +import dev.arkbuilders.rate.presentation.shared.SharedViewModel class NavDepContainer( val activity: MainActivity diff --git a/app/src/main/java/space/taran/arkrate/di/module/ApiModule.kt b/app/src/main/java/space/taran/arkrate/di/module/ApiModule.kt index a22ce3bd6..b9b4a0788 100644 --- a/app/src/main/java/space/taran/arkrate/di/module/ApiModule.kt +++ b/app/src/main/java/space/taran/arkrate/di/module/ApiModule.kt @@ -1,4 +1,4 @@ -package space.taran.arkrate.di.module +package dev.arkbuilders.rate.di.module import com.google.gson.GsonBuilder import dagger.Module @@ -6,9 +6,9 @@ import dagger.Provides import okhttp3.OkHttpClient import retrofit2.Retrofit import retrofit2.converter.gson.GsonConverterFactory -import space.taran.arkrate.data.crypto.CryptoAPI -import space.taran.arkrate.data.fiat.FiatAPI -import space.taran.arkrate.data.network.OkHttpClientBuilder +import dev.arkbuilders.rate.data.crypto.CryptoAPI +import dev.arkbuilders.rate.data.fiat.FiatAPI +import dev.arkbuilders.rate.data.network.OkHttpClientBuilder import javax.inject.Named import javax.inject.Singleton diff --git a/app/src/main/java/space/taran/arkrate/di/module/DBModule.kt b/app/src/main/java/space/taran/arkrate/di/module/DBModule.kt index 7f2907bcc..cad368447 100644 --- a/app/src/main/java/space/taran/arkrate/di/module/DBModule.kt +++ b/app/src/main/java/space/taran/arkrate/di/module/DBModule.kt @@ -1,11 +1,11 @@ -package space.taran.arkrate.di.module +package dev.arkbuilders.rate.di.module import android.app.Application import androidx.room.Room import dagger.Module import dagger.Provides -import space.taran.arkrate.data.db.Database -import space.taran.arkrate.data.db.Database.Companion.DB_NAME +import dev.arkbuilders.rate.data.db.Database +import dev.arkbuilders.rate.data.db.Database.Companion.DB_NAME import javax.inject.Singleton @Module diff --git a/app/src/main/java/space/taran/arkrate/presentation/App.kt b/app/src/main/java/space/taran/arkrate/presentation/App.kt index 60f40ad88..1615eb770 100644 --- a/app/src/main/java/space/taran/arkrate/presentation/App.kt +++ b/app/src/main/java/space/taran/arkrate/presentation/App.kt @@ -1,4 +1,4 @@ -package space.taran.arkrate.presentation +package dev.arkbuilders.rate.presentation import android.app.Application import androidx.work.Constraints @@ -14,10 +14,10 @@ import org.acra.config.httpSender import org.acra.data.StringFormat import org.acra.ktx.initAcra import org.acra.sender.HttpSender -import space.taran.arkrate.BuildConfig -import space.taran.arkrate.R -import space.taran.arkrate.data.worker.CurrencyMonitorWorker -import space.taran.arkrate.di.DIManager +import dev.arkbuilders.rate.BuildConfig +import dev.arkbuilders.rate.R +import dev.arkbuilders.rate.data.worker.CurrencyMonitorWorker +import dev.arkbuilders.rate.di.DIManager import java.util.concurrent.TimeUnit class App : Application() { diff --git a/app/src/main/java/space/taran/arkrate/presentation/MainActivity.kt b/app/src/main/java/space/taran/arkrate/presentation/MainActivity.kt index 8cf2e4d20..595b06d51 100644 --- a/app/src/main/java/space/taran/arkrate/presentation/MainActivity.kt +++ b/app/src/main/java/space/taran/arkrate/presentation/MainActivity.kt @@ -1,12 +1,12 @@ -package space.taran.arkrate.presentation +package dev.arkbuilders.rate.presentation import android.os.Bundle import androidx.activity.ComponentActivity import androidx.activity.compose.setContent import androidx.compose.runtime.CompositionLocalProvider import androidx.compose.runtime.staticCompositionLocalOf -import space.taran.arkrate.di.NavDepContainer -import space.taran.arkrate.presentation.theme.ARKRateTheme +import dev.arkbuilders.rate.di.NavDepContainer +import dev.arkbuilders.rate.presentation.theme.ARKRateTheme val LocalDependencyContainer = staticCompositionLocalOf { error("No dependency container provided!") diff --git a/app/src/main/java/space/taran/arkrate/presentation/MainScreen.kt b/app/src/main/java/space/taran/arkrate/presentation/MainScreen.kt index c3e19ffb7..7f6a65f7d 100644 --- a/app/src/main/java/space/taran/arkrate/presentation/MainScreen.kt +++ b/app/src/main/java/space/taran/arkrate/presentation/MainScreen.kt @@ -1,4 +1,4 @@ -package space.taran.arkrate.presentation +package dev.arkbuilders.rate.presentation import androidx.compose.foundation.layout.padding import androidx.compose.runtime.Composable @@ -10,9 +10,9 @@ import androidx.navigation.compose.currentBackStackEntryAsState import com.ramcosta.composedestinations.DestinationsNavHost import com.ramcosta.composedestinations.navigation.navigate import com.ramcosta.composedestinations.rememberNavHostEngine -import space.taran.arkrate.presentation.destinations.AddCurrencyScreenDestination -import space.taran.arkrate.presentation.ui.AnimatedRateBottomNavigation -import space.taran.arkrate.presentation.ui.RateScaffold +import dev.arkbuilders.rate.presentation.destinations.AddCurrencyScreenDestination +import dev.arkbuilders.rate.presentation.ui.AnimatedRateBottomNavigation +import dev.arkbuilders.rate.presentation.ui.RateScaffold @Composable diff --git a/app/src/main/java/space/taran/arkrate/presentation/addcurrency/AddCurrencyScreen.kt b/app/src/main/java/space/taran/arkrate/presentation/addcurrency/AddCurrencyScreen.kt index 5901fc746..eb67147ff 100644 --- a/app/src/main/java/space/taran/arkrate/presentation/addcurrency/AddCurrencyScreen.kt +++ b/app/src/main/java/space/taran/arkrate/presentation/addcurrency/AddCurrencyScreen.kt @@ -1,4 +1,4 @@ -package space.taran.arkrate.presentation.addcurrency +package dev.arkbuilders.rate.presentation.addcurrency import androidx.compose.foundation.clickable import androidx.compose.foundation.layout.* @@ -15,11 +15,11 @@ import androidx.compose.ui.unit.sp import androidx.lifecycle.viewmodel.compose.viewModel import androidx.navigation.NavController import com.ramcosta.composedestinations.annotation.Destination -import space.taran.arkrate.di.DIManager -import space.taran.arkrate.presentation.destinations.AssetsScreenDestination -import space.taran.arkrate.presentation.destinations.PairAlertConditionScreenDestination -import space.taran.arkrate.presentation.shared.SharedViewModel -import space.taran.arkrate.presentation.utils.activityViewModel +import dev.arkbuilders.rate.di.DIManager +import dev.arkbuilders.rate.presentation.destinations.AssetsScreenDestination +import dev.arkbuilders.rate.presentation.destinations.PairAlertConditionScreenDestination +import dev.arkbuilders.rate.presentation.shared.SharedViewModel +import dev.arkbuilders.rate.presentation.utils.activityViewModel @Destination @Composable diff --git a/app/src/main/java/space/taran/arkrate/presentation/addcurrency/AddCurrencyViewModel.kt b/app/src/main/java/space/taran/arkrate/presentation/addcurrency/AddCurrencyViewModel.kt index 4fe722521..69203fa9d 100644 --- a/app/src/main/java/space/taran/arkrate/presentation/addcurrency/AddCurrencyViewModel.kt +++ b/app/src/main/java/space/taran/arkrate/presentation/addcurrency/AddCurrencyViewModel.kt @@ -1,4 +1,4 @@ -package space.taran.arkrate.presentation.addcurrency +package dev.arkbuilders.rate.presentation.addcurrency import androidx.compose.runtime.getValue import androidx.compose.runtime.mutableStateOf @@ -7,11 +7,11 @@ import androidx.lifecycle.ViewModel import androidx.lifecycle.ViewModelProvider import androidx.lifecycle.viewModelScope import kotlinx.coroutines.launch -import space.taran.arkrate.data.CurrencyAmount -import space.taran.arkrate.data.CurrencyName -import space.taran.arkrate.data.GeneralCurrencyRepo -import space.taran.arkrate.data.assets.AssetsRepo -import space.taran.arkrate.data.CurrencyCode +import dev.arkbuilders.rate.data.CurrencyAmount +import dev.arkbuilders.rate.data.CurrencyName +import dev.arkbuilders.rate.data.GeneralCurrencyRepo +import dev.arkbuilders.rate.data.assets.AssetsRepo +import dev.arkbuilders.rate.data.CurrencyCode import javax.inject.Inject import javax.inject.Singleton diff --git a/app/src/main/java/space/taran/arkrate/presentation/assets/AssetsScreen.kt b/app/src/main/java/space/taran/arkrate/presentation/assets/AssetsScreen.kt index 9ae82fe58..f7d9077ae 100644 --- a/app/src/main/java/space/taran/arkrate/presentation/assets/AssetsScreen.kt +++ b/app/src/main/java/space/taran/arkrate/presentation/assets/AssetsScreen.kt @@ -1,4 +1,4 @@ -package space.taran.arkrate.presentation.assets +package dev.arkbuilders.rate.presentation.assets import androidx.compose.foundation.layout.Box import androidx.compose.foundation.layout.Row @@ -29,11 +29,11 @@ import androidx.lifecycle.viewmodel.compose.viewModel import com.ramcosta.composedestinations.annotation.Destination import com.ramcosta.composedestinations.annotation.RootNavGraph import com.ramcosta.composedestinations.navigation.DestinationsNavigator -import space.taran.arkrate.data.CurrencyAmount -import space.taran.arkrate.di.DIManager -import space.taran.arkrate.presentation.destinations.AddCurrencyScreenDestination -import space.taran.arkrate.presentation.destinations.AssetsScreenDestination -import space.taran.arkrate.utils.removeFractionalPartIfEmpty +import dev.arkbuilders.rate.data.CurrencyAmount +import dev.arkbuilders.rate.di.DIManager +import dev.arkbuilders.rate.presentation.destinations.AddCurrencyScreenDestination +import dev.arkbuilders.rate.presentation.destinations.AssetsScreenDestination +import dev.arkbuilders.rate.utils.removeFractionalPartIfEmpty @RootNavGraph(start = true) @Destination diff --git a/app/src/main/java/space/taran/arkrate/presentation/assets/AssetsViewModel.kt b/app/src/main/java/space/taran/arkrate/presentation/assets/AssetsViewModel.kt index 49541a995..a12ee592e 100644 --- a/app/src/main/java/space/taran/arkrate/presentation/assets/AssetsViewModel.kt +++ b/app/src/main/java/space/taran/arkrate/presentation/assets/AssetsViewModel.kt @@ -1,12 +1,12 @@ -package space.taran.arkrate.presentation.assets +package dev.arkbuilders.rate.presentation.assets import androidx.compose.runtime.mutableStateListOf import androidx.lifecycle.ViewModel import androidx.lifecycle.ViewModelProvider import androidx.lifecycle.viewModelScope import kotlinx.coroutines.launch -import space.taran.arkrate.data.CurrencyAmount -import space.taran.arkrate.data.assets.AssetsRepo +import dev.arkbuilders.rate.data.CurrencyAmount +import dev.arkbuilders.rate.data.assets.AssetsRepo import javax.inject.Inject import javax.inject.Singleton diff --git a/app/src/main/java/space/taran/arkrate/presentation/pairalert/PairAlertConditionScreen.kt b/app/src/main/java/space/taran/arkrate/presentation/pairalert/PairAlertConditionScreen.kt index 962fc447b..fac13b45d 100644 --- a/app/src/main/java/space/taran/arkrate/presentation/pairalert/PairAlertConditionScreen.kt +++ b/app/src/main/java/space/taran/arkrate/presentation/pairalert/PairAlertConditionScreen.kt @@ -1,4 +1,4 @@ -package space.taran.arkrate.presentation.pairalert +package dev.arkbuilders.rate.presentation.pairalert import android.widget.Toast import androidx.compose.foundation.background @@ -37,12 +37,12 @@ import androidx.compose.ui.text.input.KeyboardType import androidx.compose.ui.unit.dp import com.ramcosta.composedestinations.annotation.Destination import com.ramcosta.composedestinations.navigation.DestinationsNavigator -import space.taran.arkrate.data.PairAlertCondition -import space.taran.arkrate.presentation.destinations.AddCurrencyScreenDestination -import space.taran.arkrate.presentation.destinations.PairAlertConditionScreenDestination -import space.taran.arkrate.presentation.shared.SharedViewModel -import space.taran.arkrate.presentation.utils.activityViewModel -import space.taran.arkrate.utils.removeFractionalPartIfEmpty +import dev.arkbuilders.rate.data.PairAlertCondition +import dev.arkbuilders.rate.presentation.destinations.AddCurrencyScreenDestination +import dev.arkbuilders.rate.presentation.destinations.PairAlertConditionScreenDestination +import dev.arkbuilders.rate.presentation.shared.SharedViewModel +import dev.arkbuilders.rate.presentation.utils.activityViewModel +import dev.arkbuilders.rate.utils.removeFractionalPartIfEmpty @Destination @Composable diff --git a/app/src/main/java/space/taran/arkrate/presentation/shared/SharedViewModel.kt b/app/src/main/java/space/taran/arkrate/presentation/shared/SharedViewModel.kt index 781eaecca..d3f5a8133 100644 --- a/app/src/main/java/space/taran/arkrate/presentation/shared/SharedViewModel.kt +++ b/app/src/main/java/space/taran/arkrate/presentation/shared/SharedViewModel.kt @@ -1,4 +1,4 @@ -package space.taran.arkrate.presentation.shared +package dev.arkbuilders.rate.presentation.shared import androidx.compose.runtime.getValue import androidx.compose.runtime.mutableStateListOf @@ -8,9 +8,9 @@ import androidx.lifecycle.ViewModel import androidx.lifecycle.ViewModelProvider import androidx.lifecycle.viewModelScope import kotlinx.coroutines.launch -import space.taran.arkrate.data.db.PairAlertConditionRepo -import space.taran.arkrate.data.CurrencyCode -import space.taran.arkrate.data.PairAlertCondition +import dev.arkbuilders.rate.data.db.PairAlertConditionRepo +import dev.arkbuilders.rate.data.CurrencyCode +import dev.arkbuilders.rate.data.PairAlertCondition import javax.inject.Inject import javax.inject.Singleton diff --git a/app/src/main/java/space/taran/arkrate/presentation/summary/SummaryScreen.kt b/app/src/main/java/space/taran/arkrate/presentation/summary/SummaryScreen.kt index c042b5a0c..ca143dfea 100644 --- a/app/src/main/java/space/taran/arkrate/presentation/summary/SummaryScreen.kt +++ b/app/src/main/java/space/taran/arkrate/presentation/summary/SummaryScreen.kt @@ -1,4 +1,4 @@ -package space.taran.arkrate.presentation.summary +package dev.arkbuilders.rate.presentation.summary import androidx.compose.animation.AnimatedVisibility import androidx.compose.foundation.clickable @@ -14,7 +14,7 @@ import androidx.compose.ui.unit.dp import androidx.compose.ui.unit.sp import androidx.lifecycle.viewmodel.compose.viewModel import com.ramcosta.composedestinations.annotation.Destination -import space.taran.arkrate.di.DIManager +import dev.arkbuilders.rate.di.DIManager import java.math.RoundingMode import java.text.DecimalFormat diff --git a/app/src/main/java/space/taran/arkrate/presentation/summary/SummaryViewModel.kt b/app/src/main/java/space/taran/arkrate/presentation/summary/SummaryViewModel.kt index bb6ac64cb..35a4ab8cc 100644 --- a/app/src/main/java/space/taran/arkrate/presentation/summary/SummaryViewModel.kt +++ b/app/src/main/java/space/taran/arkrate/presentation/summary/SummaryViewModel.kt @@ -1,4 +1,4 @@ -package space.taran.arkrate.presentation.summary +package dev.arkbuilders.rate.presentation.summary import androidx.lifecycle.ViewModel import androidx.lifecycle.ViewModelProvider @@ -7,8 +7,8 @@ import kotlinx.coroutines.flow.MutableStateFlow import kotlinx.coroutines.flow.launchIn import kotlinx.coroutines.flow.onEach import kotlinx.coroutines.launch -import space.taran.arkrate.data.GeneralCurrencyRepo -import space.taran.arkrate.data.assets.AssetsRepo +import dev.arkbuilders.rate.data.GeneralCurrencyRepo +import dev.arkbuilders.rate.data.assets.AssetsRepo import javax.inject.Inject import javax.inject.Singleton diff --git a/app/src/main/java/space/taran/arkrate/presentation/theme/Color.kt b/app/src/main/java/space/taran/arkrate/presentation/theme/Color.kt index c54c483ea..8af57e35b 100644 --- a/app/src/main/java/space/taran/arkrate/presentation/theme/Color.kt +++ b/app/src/main/java/space/taran/arkrate/presentation/theme/Color.kt @@ -1,4 +1,4 @@ -package space.taran.arkrate.presentation.theme +package dev.arkbuilders.rate.presentation.theme import androidx.compose.ui.graphics.Color diff --git a/app/src/main/java/space/taran/arkrate/presentation/theme/Shape.kt b/app/src/main/java/space/taran/arkrate/presentation/theme/Shape.kt index 8c89adcbe..4a00b2ab4 100644 --- a/app/src/main/java/space/taran/arkrate/presentation/theme/Shape.kt +++ b/app/src/main/java/space/taran/arkrate/presentation/theme/Shape.kt @@ -1,4 +1,4 @@ -package space.taran.arkrate.presentation.theme +package dev.arkbuilders.rate.presentation.theme import androidx.compose.foundation.shape.RoundedCornerShape import androidx.compose.material.Shapes diff --git a/app/src/main/java/space/taran/arkrate/presentation/theme/Theme.kt b/app/src/main/java/space/taran/arkrate/presentation/theme/Theme.kt index 097b1f93b..347c84aed 100644 --- a/app/src/main/java/space/taran/arkrate/presentation/theme/Theme.kt +++ b/app/src/main/java/space/taran/arkrate/presentation/theme/Theme.kt @@ -1,4 +1,4 @@ -package space.taran.arkrate.presentation.theme +package dev.arkbuilders.rate.presentation.theme import androidx.compose.foundation.isSystemInDarkTheme import androidx.compose.material.MaterialTheme diff --git a/app/src/main/java/space/taran/arkrate/presentation/theme/Type.kt b/app/src/main/java/space/taran/arkrate/presentation/theme/Type.kt index 453cd2c07..a05c86b99 100644 --- a/app/src/main/java/space/taran/arkrate/presentation/theme/Type.kt +++ b/app/src/main/java/space/taran/arkrate/presentation/theme/Type.kt @@ -1,4 +1,4 @@ -package space.taran.arkrate.presentation.theme +package dev.arkbuilders.rate.presentation.theme import androidx.compose.material.Typography import androidx.compose.ui.text.TextStyle diff --git a/app/src/main/java/space/taran/arkrate/presentation/ui/BottomNavigation.kt b/app/src/main/java/space/taran/arkrate/presentation/ui/BottomNavigation.kt index a57b91ef8..f4223927c 100644 --- a/app/src/main/java/space/taran/arkrate/presentation/ui/BottomNavigation.kt +++ b/app/src/main/java/space/taran/arkrate/presentation/ui/BottomNavigation.kt @@ -1,4 +1,4 @@ -package space.taran.arkrate.presentation.ui +package dev.arkbuilders.rate.presentation.ui import androidx.compose.animation.AnimatedVisibility import androidx.compose.animation.slideInVertically @@ -17,11 +17,11 @@ import androidx.compose.ui.unit.sp import androidx.navigation.compose.currentBackStackEntryAsState import com.ramcosta.composedestinations.spec.Direction import com.ramcosta.composedestinations.spec.DirectionDestinationSpec -import space.taran.arkrate.R -import space.taran.arkrate.presentation.destinations.AssetsScreenDestination -import space.taran.arkrate.presentation.destinations.Destination -import space.taran.arkrate.presentation.destinations.PairAlertConditionScreenDestination -import space.taran.arkrate.presentation.destinations.SummaryScreenDestination +import dev.arkbuilders.rate.R +import dev.arkbuilders.rate.presentation.destinations.AssetsScreenDestination +import dev.arkbuilders.rate.presentation.destinations.Destination +import dev.arkbuilders.rate.presentation.destinations.PairAlertConditionScreenDestination +import dev.arkbuilders.rate.presentation.destinations.SummaryScreenDestination sealed class BottomNavItem( var title: String, diff --git a/app/src/main/java/space/taran/arkrate/presentation/ui/RateScaffold.kt b/app/src/main/java/space/taran/arkrate/presentation/ui/RateScaffold.kt index 43139eccc..b6b0ddcd8 100644 --- a/app/src/main/java/space/taran/arkrate/presentation/ui/RateScaffold.kt +++ b/app/src/main/java/space/taran/arkrate/presentation/ui/RateScaffold.kt @@ -1,4 +1,4 @@ -package space.taran.arkrate.presentation.ui +package dev.arkbuilders.rate.presentation.ui import android.annotation.SuppressLint import androidx.compose.foundation.layout.PaddingValues @@ -7,10 +7,10 @@ import androidx.compose.runtime.Composable import androidx.navigation.NavBackStackEntry import androidx.navigation.NavHostController import com.ramcosta.composedestinations.spec.Route -import space.taran.arkrate.presentation.NavGraphs -import space.taran.arkrate.presentation.appCurrentDestinationAsState -import space.taran.arkrate.presentation.destinations.Destination -import space.taran.arkrate.presentation.startAppDestination +import dev.arkbuilders.rate.presentation.NavGraphs +import dev.arkbuilders.rate.presentation.appCurrentDestinationAsState +import dev.arkbuilders.rate.presentation.destinations.Destination +import dev.arkbuilders.rate.presentation.startAppDestination @SuppressLint("RestrictedApi") @Composable diff --git a/app/src/main/java/space/taran/arkrate/presentation/utils/NotificationUtils.kt b/app/src/main/java/space/taran/arkrate/presentation/utils/NotificationUtils.kt index 128e4f557..c0b80b3e7 100644 --- a/app/src/main/java/space/taran/arkrate/presentation/utils/NotificationUtils.kt +++ b/app/src/main/java/space/taran/arkrate/presentation/utils/NotificationUtils.kt @@ -1,4 +1,4 @@ -package space.taran.arkrate.presentation.utils +package dev.arkbuilders.rate.presentation.utils import android.app.NotificationChannel import android.app.NotificationManager @@ -9,9 +9,9 @@ import android.os.Build import androidx.core.app.NotificationCompat import androidx.core.app.NotificationManagerCompat import androidx.core.content.ContextCompat -import space.taran.arkrate.R -import space.taran.arkrate.data.PairAlertCondition -import space.taran.arkrate.presentation.MainActivity +import dev.arkbuilders.rate.R +import dev.arkbuilders.rate.data.PairAlertCondition +import dev.arkbuilders.rate.presentation.MainActivity object NotificationUtils { fun showPairAlert( diff --git a/app/src/main/java/space/taran/arkrate/presentation/utils/ViewModelUtils.kt b/app/src/main/java/space/taran/arkrate/presentation/utils/ViewModelUtils.kt index 6a6699f8a..f1e093a20 100644 --- a/app/src/main/java/space/taran/arkrate/presentation/utils/ViewModelUtils.kt +++ b/app/src/main/java/space/taran/arkrate/presentation/utils/ViewModelUtils.kt @@ -1,4 +1,4 @@ -package space.taran.arkrate.presentation.utils +package dev.arkbuilders.rate.presentation.utils import android.os.Bundle import androidx.compose.runtime.Composable @@ -10,8 +10,8 @@ import androidx.lifecycle.ViewModelStoreOwner import androidx.lifecycle.viewmodel.compose.LocalViewModelStoreOwner import androidx.navigation.NavBackStackEntry import androidx.savedstate.SavedStateRegistryOwner -import space.taran.arkrate.di.NavDepContainer -import space.taran.arkrate.presentation.LocalDependencyContainer +import dev.arkbuilders.rate.di.NavDepContainer +import dev.arkbuilders.rate.presentation.LocalDependencyContainer @Composable inline fun viewModel( diff --git a/app/src/main/java/space/taran/arkrate/utils/CollectionsUtils.kt b/app/src/main/java/space/taran/arkrate/utils/CollectionsUtils.kt index 14f333c0b..50591f975 100644 --- a/app/src/main/java/space/taran/arkrate/utils/CollectionsUtils.kt +++ b/app/src/main/java/space/taran/arkrate/utils/CollectionsUtils.kt @@ -1,4 +1,4 @@ -package space.taran.arkrate.utils +package dev.arkbuilders.rate.utils fun List.replace(targetItem: T, newItem: T) = map { if (it == targetItem) { diff --git a/app/src/main/java/space/taran/arkrate/utils/Constants.kt b/app/src/main/java/space/taran/arkrate/utils/Constants.kt index 44e6ab03d..7a0cb42dd 100644 --- a/app/src/main/java/space/taran/arkrate/utils/Constants.kt +++ b/app/src/main/java/space/taran/arkrate/utils/Constants.kt @@ -1,4 +1,4 @@ -package space.taran.arkrate.utils +package dev.arkbuilders.rate.utils // shared preferences const val CRASH_REPORT_ENABLE = "crash_report_enable" diff --git a/app/src/main/java/space/taran/arkrate/utils/CoroutineUtils.kt b/app/src/main/java/space/taran/arkrate/utils/CoroutineUtils.kt index 80d506513..9eb88e07b 100644 --- a/app/src/main/java/space/taran/arkrate/utils/CoroutineUtils.kt +++ b/app/src/main/java/space/taran/arkrate/utils/CoroutineUtils.kt @@ -1,4 +1,4 @@ -package space.taran.arkrate.utils +package dev.arkbuilders.rate.utils import kotlinx.coroutines.CoroutineScope import kotlinx.coroutines.sync.Mutex diff --git a/app/src/main/java/space/taran/arkrate/utils/FormatUtils.kt b/app/src/main/java/space/taran/arkrate/utils/FormatUtils.kt index b984cbc87..045af9a81 100644 --- a/app/src/main/java/space/taran/arkrate/utils/FormatUtils.kt +++ b/app/src/main/java/space/taran/arkrate/utils/FormatUtils.kt @@ -1,4 +1,4 @@ -package space.taran.arkrate.utils +package dev.arkbuilders.rate.utils fun Double.removeFractionalPartIfEmpty(): String { val integerPart = this.toInt() diff --git a/app/src/test/java/com/someone/exchange/ExampleUnitTest.kt b/app/src/test/java/com/someone/exchange/ExampleUnitTest.kt index 2e19d58d7..438ff09e5 100644 --- a/app/src/test/java/com/someone/exchange/ExampleUnitTest.kt +++ b/app/src/test/java/com/someone/exchange/ExampleUnitTest.kt @@ -1,4 +1,4 @@ -package space.taran.arkrate +package dev.arkbuilders.rate import org.junit.Assert.assertEquals import org.junit.Test