update package name (big one)
This commit is contained in:
@@ -6,10 +6,10 @@ plugins {
|
||||
alias(libs.plugins.kotlin.compose.compiler)
|
||||
}
|
||||
|
||||
group = "com.meloda.app.fast.common"
|
||||
group = "dev.meloda.fast.common"
|
||||
|
||||
android {
|
||||
namespace = "com.meloda.app.fast.common"
|
||||
namespace = "dev.meloda.fast.common"
|
||||
compileSdk = Configs.compileSdk
|
||||
|
||||
defaultConfig {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
package com.meloda.app.fast.common
|
||||
package dev.meloda.fast.common
|
||||
|
||||
object AppConstants {
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
package com.meloda.app.fast.common
|
||||
package dev.meloda.fast.common
|
||||
|
||||
import com.meloda.app.fast.common.model.LongPollState
|
||||
import dev.meloda.fast.common.model.LongPollState
|
||||
import kotlinx.coroutines.flow.MutableStateFlow
|
||||
import kotlinx.coroutines.flow.StateFlow
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
package com.meloda.app.fast.common
|
||||
package dev.meloda.fast.common
|
||||
|
||||
import android.content.SharedPreferences
|
||||
import androidx.core.content.edit
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
package com.meloda.app.fast.common
|
||||
package dev.meloda.fast.common
|
||||
|
||||
object VkConstants {
|
||||
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
package com.meloda.app.fast.common.di
|
||||
package dev.meloda.fast.common.di
|
||||
|
||||
import coil.ImageLoader
|
||||
import com.meloda.app.fast.common.LongPollController
|
||||
import com.meloda.app.fast.common.LongPollControllerImpl
|
||||
import com.meloda.app.fast.common.provider.ResourceProvider
|
||||
import com.meloda.app.fast.common.provider.ResourceProviderImpl
|
||||
import dev.meloda.fast.common.LongPollController
|
||||
import dev.meloda.fast.common.LongPollControllerImpl
|
||||
import dev.meloda.fast.common.provider.ResourceProvider
|
||||
import dev.meloda.fast.common.provider.ResourceProviderImpl
|
||||
import org.koin.core.module.dsl.singleOf
|
||||
import org.koin.dsl.bind
|
||||
import org.koin.dsl.module
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
package com.meloda.app.fast.common.extensions
|
||||
package dev.meloda.fast.common.extensions
|
||||
|
||||
import android.os.Bundle
|
||||
import android.os.Parcelable
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
package com.meloda.app.fast.common.extensions
|
||||
package dev.meloda.fast.common.extensions
|
||||
|
||||
import android.app.Activity
|
||||
import android.content.Context
|
||||
@@ -33,7 +33,7 @@ fun Context.restartApp() {
|
||||
activity.startActivity(
|
||||
Intent(
|
||||
this,
|
||||
Class.forName("com.meloda.app.fast.MainActivity")
|
||||
Class.forName("dev.meloda.fast.MainActivity")
|
||||
)
|
||||
)
|
||||
}
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
package com.meloda.app.fast.common.extensions
|
||||
package dev.meloda.fast.common.extensions
|
||||
|
||||
inline fun String?.ifEmpty(defaultValue: () -> String?): String? =
|
||||
if (this?.isEmpty() == true) defaultValue() else this
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
package com.meloda.app.fast.common.extensions.navigation
|
||||
package dev.meloda.fast.common.extensions.navigation
|
||||
|
||||
import androidx.compose.runtime.Composable
|
||||
import androidx.compose.runtime.remember
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
package com.meloda.app.fast.common.model
|
||||
package dev.meloda.fast.common.model
|
||||
|
||||
data class ApiLanguage(val value: String)
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
package com.meloda.app.fast.common.model
|
||||
package dev.meloda.fast.common.model
|
||||
|
||||
private const val MODE_NIGHT_NO = 1
|
||||
private const val MODE_NIGHT_YES = 2
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
package com.meloda.app.fast.common.model
|
||||
package dev.meloda.fast.common.model
|
||||
sealed class LongPollState {
|
||||
data object Stopped : LongPollState()
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
package com.meloda.app.fast.common.model
|
||||
package dev.meloda.fast.common.model
|
||||
|
||||
import android.graphics.drawable.Drawable
|
||||
import androidx.annotation.ColorInt
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
package com.meloda.app.fast.common.model
|
||||
package dev.meloda.fast.common.model
|
||||
|
||||
import android.content.res.Resources
|
||||
import androidx.annotation.PluralsRes
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
package com.meloda.app.fast.common.provider
|
||||
package dev.meloda.fast.common.provider
|
||||
|
||||
interface Provider<T> {
|
||||
fun provide(): T?
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
package com.meloda.app.fast.common.provider
|
||||
package dev.meloda.fast.common.provider
|
||||
|
||||
import android.content.res.Resources
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
package com.meloda.app.fast.common.util
|
||||
package dev.meloda.fast.common.util
|
||||
|
||||
import android.content.ClipData
|
||||
import android.content.ClipboardManager
|
||||
@@ -15,7 +15,7 @@ import java.io.FileOutputStream
|
||||
|
||||
private object BuildConfig {
|
||||
const val DEBUG = true
|
||||
const val APPLICATION_ID = "com.meloda.app.fast"
|
||||
const val APPLICATION_ID = "dev.meloda.fast"
|
||||
}
|
||||
|
||||
object AndroidUtils {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
package com.meloda.app.fast.common.util
|
||||
package dev.meloda.fast.common.util
|
||||
|
||||
import android.content.res.Resources
|
||||
import com.conena.nanokt.jvm.util.dayOfMonth
|
||||
@@ -9,7 +9,7 @@ import com.conena.nanokt.jvm.util.minute
|
||||
import com.conena.nanokt.jvm.util.month
|
||||
import com.conena.nanokt.jvm.util.second
|
||||
import com.conena.nanokt.jvm.util.year
|
||||
import com.meloda.app.fast.common.R
|
||||
import dev.meloda.fast.common.R
|
||||
import java.text.SimpleDateFormat
|
||||
import java.util.Calendar
|
||||
import java.util.Date
|
||||
|
||||
Reference in New Issue
Block a user