Renaming package to option

This commit is contained in:
Maxime Naturel 2022-03-02 17:39:00 +01:00
parent b11f7f20e1
commit d36409d475
6 changed files with 8 additions and 8 deletions

View File

@ -32,6 +32,7 @@ import im.vector.app.core.platform.VectorBaseFragment
import im.vector.app.databinding.FragmentLocationSharingBinding
import im.vector.app.features.home.AvatarRenderer
import im.vector.app.features.home.room.detail.timeline.helper.MatrixItemColorProvider
import im.vector.app.features.location.option.LocationSharingOption
import org.matrix.android.sdk.api.util.MatrixItem
import java.lang.ref.WeakReference
import javax.inject.Inject

View File

@ -14,7 +14,7 @@
* limitations under the License.
*/
package im.vector.app.features.location
package im.vector.app.features.location.option
enum class LocationSharingOption {
USER_CURRENT, // current user's location

View File

@ -14,7 +14,7 @@
* limitations under the License.
*/
package im.vector.app.features.location.view
package im.vector.app.features.location.option
import android.content.Context
import android.util.AttributeSet
@ -23,7 +23,6 @@ import android.view.View
import androidx.constraintlayout.widget.ConstraintLayout
import androidx.core.view.isVisible
import im.vector.app.databinding.ViewLocationSharingOptionPickerBinding
import im.vector.app.features.location.LocationSharingOption
/**
* Custom view to display the location sharing option picker.

View File

@ -14,7 +14,7 @@
* limitations under the License.
*/
package im.vector.app.features.location.view
package im.vector.app.features.location.option
import android.content.Context
import android.content.res.TypedArray

View File

@ -14,7 +14,7 @@
app:mapbox_renderTextureMode="true"
tools:background="#4F00" />
<im.vector.app.features.location.view.LocationSharingOptionPickerView
<im.vector.app.features.location.option.LocationSharingOptionPickerView
android:id="@+id/shareLocationOptionsPicker"
android:layout_width="0dp"
android:layout_height="wrap_content"

View File

@ -6,7 +6,7 @@
android:layout_height="wrap_content"
tools:parentTag="androidx.constraintlayout.widget.ConstraintLayout">
<im.vector.app.features.location.view.LocationSharingOptionView
<im.vector.app.features.location.option.LocationSharingOptionView
android:id="@+id/locationSharingOptionPinned"
android:layout_width="0dp"
android:layout_height="wrap_content"
@ -32,7 +32,7 @@
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/locationSharingOptionPinned" />
<im.vector.app.features.location.view.LocationSharingOptionView
<im.vector.app.features.location.option.LocationSharingOptionView
android:id="@+id/locationSharingOptionUserCurrent"
android:layout_width="0dp"
android:layout_height="wrap_content"
@ -57,7 +57,7 @@
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/locationSharingOptionUserCurrent" />
<im.vector.app.features.location.view.LocationSharingOptionView
<im.vector.app.features.location.option.LocationSharingOptionView
android:id="@+id/locationSharingOptionUserLive"
android:layout_width="0dp"
android:layout_height="wrap_content"