Rename core module

This commit is contained in:
ganfra 2023-01-20 16:34:04 +01:00
parent bc9b8e6b90
commit f6672fa5de
52 changed files with 67 additions and 67 deletions

View file

@ -14,7 +14,7 @@
* limitations under the License.
*/
package io.element.android.x.core.bitmap
package io.element.android.libraries.core.bitmap
import android.graphics.Bitmap
import java.io.File

View file

@ -14,7 +14,7 @@
* limitations under the License.
*/
package io.element.android.x.core.bool
package io.element.android.libraries.core.bool
fun Boolean?.orTrue() = this ?: true

View file

@ -14,7 +14,7 @@
* limitations under the License.
*/
package io.element.android.x.core.compose
package io.element.android.libraries.core.compose
import androidx.compose.foundation.layout.ExperimentalLayoutApi
import androidx.compose.foundation.layout.WindowInsets

View file

@ -1,5 +1,5 @@
/*
* Copyright (c) 2022 New Vector Ltd
* Copyright (c) 2023 New Vector Ltd
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@ -14,12 +14,12 @@
* limitations under the License.
*/
package io.element.android.x.core.compose
package io.element.android.libraries.core.compose
import androidx.compose.runtime.Composable
import androidx.compose.runtime.SideEffect
import androidx.compose.runtime.remember
import io.element.android.x.core.BuildConfig
import io.element.android.libraries.core.BuildConfig
import timber.log.Timber
// Note the inline function below which ensures that this function is essentially

View file

@ -14,7 +14,7 @@
* limitations under the License.
*/
package io.element.android.x.core.compose
package io.element.android.libraries.core.compose
import androidx.compose.runtime.Composable
import androidx.compose.runtime.DisposableEffect

View file

@ -14,7 +14,7 @@
* limitations under the License.
*/
package io.element.android.x.core.compose
package io.element.android.libraries.core.compose
import androidx.compose.ui.tooling.preview.PreviewParameterProvider

View file

@ -14,7 +14,7 @@
* limitations under the License.
*/
package io.element.android.x.core.compose
package io.element.android.libraries.core.compose
import androidx.compose.runtime.Composable
import androidx.compose.runtime.MutableState

View file

@ -14,7 +14,7 @@
* limitations under the License.
*/
package io.element.android.x.core.coroutine
package io.element.android.libraries.core.coroutine
import kotlinx.coroutines.CoroutineDispatcher

View file

@ -14,7 +14,7 @@
* limitations under the License.
*/
package io.element.android.x.core.coroutine
package io.element.android.libraries.core.coroutine
import android.os.SystemClock
import kotlinx.coroutines.CoroutineScope

View file

@ -14,7 +14,7 @@
* limitations under the License.
*/
package io.element.android.x.core.coroutine
package io.element.android.libraries.core.coroutine
import kotlinx.coroutines.async
import kotlinx.coroutines.awaitAll

View file

@ -14,7 +14,7 @@
* limitations under the License.
*/
package io.element.android.x.core.data
package io.element.android.libraries.core.data
/**
* Wrapper for a CharSequence, which support mutation of the CharSequence.

View file

@ -14,7 +14,7 @@
* limitations under the License.
*/
package io.element.android.x.core.data
package io.element.android.libraries.core.data
import timber.log.Timber

View file

@ -14,7 +14,7 @@
* limitations under the License.
*/
package io.element.android.x.core.extensions
package io.element.android.libraries.core.extensions
import android.util.Patterns

View file

@ -14,7 +14,7 @@
* limitations under the License.
*/
package io.element.android.x.core.file
package io.element.android.libraries.core.file
import java.io.File
import java.util.zip.GZIPOutputStream

View file

@ -14,7 +14,7 @@
* limitations under the License.
*/
package io.element.android.x.core.hardware
package io.element.android.libraries.core.hardware
import android.content.Context
import android.os.Build

View file

@ -1,5 +1,5 @@
/*
* Copyright (c) 2022 New Vector Ltd
* Copyright (c) 2023 New Vector Ltd
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@ -14,9 +14,9 @@
* limitations under the License.
*/
package io.element.android.x.core.mimetype
package io.element.android.libraries.core.mimetype
import io.element.android.x.core.bool.orFalse
import io.element.android.libraries.core.bool.orFalse
// The Android SDK does not provide constant for mime type, add some of them here
object MimeTypes {

View file

@ -14,7 +14,7 @@
* limitations under the License.
*/
package io.element.android.x.core.screenshot
package io.element.android.libraries.core.screenshot
import android.app.Activity
import android.graphics.Bitmap

View file

@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package io.element.android.x.core.ui
package io.element.android.libraries.core.ui
import android.content.res.Resources
import android.util.TypedValue

View file

@ -14,7 +14,7 @@
* limitations under the License.
*/
package io.element.android.x.core.ui
package io.element.android.libraries.core.ui
import android.view.View
import android.view.inputmethod.InputMethodManager

View file

@ -14,7 +14,7 @@
* limitations under the License.
*/
package io.element.android.x.core.uri
package io.element.android.libraries.core.uri
import java.net.URL