Clean code and update CHANGES
This commit is contained in:
parent
fc5c6b9b00
commit
d9e9568c2e
|
@ -0,0 +1 @@
|
|||
Improve performances on RoomDetail screen
|
|
@ -34,9 +34,7 @@ import im.vector.app.features.pin.SharedPrefPinCodeStore
|
|||
import im.vector.app.features.ui.SharedPreferencesUiStateRepository
|
||||
import im.vector.app.features.ui.UiStateRepository
|
||||
import kotlinx.coroutines.CoroutineScope
|
||||
import kotlinx.coroutines.DelicateCoroutinesApi
|
||||
import kotlinx.coroutines.Dispatchers
|
||||
import kotlinx.coroutines.GlobalScope
|
||||
import kotlinx.coroutines.SupervisorJob
|
||||
import org.matrix.android.sdk.api.Matrix
|
||||
import org.matrix.android.sdk.api.auth.AuthenticationService
|
||||
|
@ -107,7 +105,6 @@ abstract class VectorModule {
|
|||
fun providesApplicationCoroutineScope(): CoroutineScope {
|
||||
return CoroutineScope(SupervisorJob() + Dispatchers.Main)
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@Binds
|
||||
|
|
|
@ -20,7 +20,6 @@ import android.view.View
|
|||
import android.view.ViewStub
|
||||
import im.vector.app.core.ui.views.FailedMessagesWarningView
|
||||
import im.vector.app.databinding.FragmentRoomDetailBinding
|
||||
import im.vector.app.features.home.room.detail.composer.VoiceMessageRecorderView
|
||||
import im.vector.app.features.invite.VectorInviteView
|
||||
import kotlin.reflect.KMutableProperty0
|
||||
|
||||
|
|
|
@ -32,7 +32,6 @@ import androidx.transition.AutoTransition
|
|||
import androidx.transition.TransitionManager
|
||||
import im.vector.app.R
|
||||
import im.vector.app.features.reactions.data.EmojiData
|
||||
import im.vector.app.features.reactions.data.EmojiDataSource
|
||||
import kotlinx.coroutines.CoroutineScope
|
||||
import kotlinx.coroutines.Dispatchers
|
||||
import kotlinx.coroutines.launch
|
||||
|
@ -64,7 +63,7 @@ class EmojiRecyclerAdapter @Inject constructor() :
|
|||
}
|
||||
|
||||
@SuppressLint("NotifyDataSetChanged")
|
||||
fun update(emojiData: EmojiData){
|
||||
fun update(emojiData: EmojiData) {
|
||||
rawData = emojiData
|
||||
notifyDataSetChanged()
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue