Rename textcomposer module

This commit is contained in:
ganfra 2023-01-20 17:38:04 +01:00
parent 89ae06fe59
commit 4a5a1f6d3e
13 changed files with 22 additions and 22 deletions

View file

@ -39,7 +39,7 @@ import io.element.android.x.features.messages.timeline.model.content.TimelineIte
import io.element.android.libraries.matrix.MatrixClient
import io.element.android.libraries.matrix.room.MatrixRoom
import io.element.android.libraries.matrix.ui.MatrixItemHelper
import io.element.android.x.textcomposer.MessageComposerMode
import io.element.android.libraries.textcomposer.MessageComposerMode
import kotlinx.coroutines.CoroutineScope
import kotlinx.coroutines.launch
import timber.log.Timber

View file

@ -16,7 +16,7 @@
package io.element.android.x.features.messages.textcomposer
import io.element.android.x.textcomposer.MessageComposerMode
import io.element.android.libraries.textcomposer.MessageComposerMode
sealed interface MessageComposerEvents {
object ToggleFullScreenState : MessageComposerEvents

View file

@ -25,7 +25,7 @@ import io.element.android.libraries.architecture.Presenter
import io.element.android.libraries.core.data.StableCharSequence
import io.element.android.libraries.core.data.toStableCharSequence
import io.element.android.libraries.matrix.room.MatrixRoom
import io.element.android.x.textcomposer.MessageComposerMode
import io.element.android.libraries.textcomposer.MessageComposerMode
import kotlinx.coroutines.CoroutineScope
import kotlinx.coroutines.launch
import javax.inject.Inject

View file

@ -18,7 +18,7 @@ package io.element.android.x.features.messages.textcomposer
import androidx.compose.runtime.Immutable
import io.element.android.libraries.core.data.StableCharSequence
import io.element.android.x.textcomposer.MessageComposerMode
import io.element.android.libraries.textcomposer.MessageComposerMode
@Immutable
data class MessageComposerState(

View file

@ -19,7 +19,7 @@ package io.element.android.x.features.messages.textcomposer
import androidx.compose.runtime.Composable
import androidx.compose.ui.Modifier
import io.element.android.libraries.designsystem.LocalIsDarkTheme
import io.element.android.x.textcomposer.TextComposer
import io.element.android.libraries.textcomposer.TextComposer
@Composable
fun MessageComposerView(

View file

@ -23,7 +23,7 @@ plugins {
}
android {
namespace = "io.element.android.x.textcomposer"
namespace = "io.element.android.libraries.textcomposer"
buildFeatures {
viewBinding = true
}

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,7 +14,7 @@
* limitations under the License.
*/
package io.element.android.x.textcomposer
package io.element.android.libraries.textcomposer
import android.os.Parcelable
import io.element.android.libraries.matrix.core.EventId

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,7 +14,7 @@
* limitations under the License.
*/
package io.element.android.x.textcomposer
package io.element.android.libraries.textcomposer
import android.net.Uri
import android.text.Editable

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,7 +14,7 @@
* limitations under the License.
*/
package io.element.android.x.textcomposer
package io.element.android.libraries.textcomposer
import android.annotation.SuppressLint
import android.content.Context
@ -45,9 +45,9 @@ import io.element.android.wysiwyg.inputhandlers.models.InlineFormat
import io.element.android.libraries.core.ui.DimensionConverter
import io.element.android.libraries.core.ui.hideKeyboard
import io.element.android.libraries.core.ui.showKeyboard
import io.element.android.x.textcomposer.databinding.ComposerRichTextLayoutBinding
import io.element.android.x.textcomposer.databinding.ViewRichTextMenuButtonBinding
import io.element.android.x.textcomposer.tools.setTextIfDifferent
import io.element.android.libraries.textcomposer.databinding.ComposerRichTextLayoutBinding
import io.element.android.libraries.textcomposer.databinding.ViewRichTextMenuButtonBinding
import io.element.android.libraries.textcomposer.tools.setTextIfDifferent
import uniffi.wysiwyg_composer.ActionState
import uniffi.wysiwyg_composer.ComposerAction
import io.element.android.x.element.resources.R as ElementR

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,7 +14,7 @@
* limitations under the License.
*/
package io.element.android.x.textcomposer
package io.element.android.libraries.textcomposer
import android.graphics.Color
import android.net.Uri

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,7 +14,7 @@
* limitations under the License.
*/
package io.element.android.x.textcomposer.tools
package io.element.android.libraries.textcomposer.tools
import android.text.Spanned
import android.widget.EditText

View file

@ -14,7 +14,7 @@
* limitations under the License.
*/
package io.element.android.x.textcomposer.tools
package io.element.android.libraries.textcomposer.tools
import androidx.transition.Transition

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,7 +14,7 @@
* limitations under the License.
*/
package io.element.android.x.textcomposer.tools
package io.element.android.libraries.textcomposer.tools
import android.view.ViewGroup
import androidx.transition.ChangeBounds