mirror of
https://github.com/vector-im/element-android.git
synced 2024-11-16 02:05:06 +08:00
klint
This commit is contained in:
parent
c911d9c7ff
commit
8c150aa3e8
@ -54,7 +54,6 @@ class RealmSessionStoreMigration @Inject constructor() : RealmMigration {
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
private fun migrateTo3(realm: DynamicRealm) {
|
||||
Timber.d("Step 1 -> 2")
|
||||
realm.schema.get("HomeServerCapabilitiesEntity")
|
||||
|
@ -86,7 +86,6 @@ class ActiveConferenceView @JvmOverloads constructor(
|
||||
findViewById<TextView>(R.id.deleteWidgetButton).setOnClickListener {
|
||||
jitsiWidget?.let { callback?.onDelete(it) }
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
fun render(state: RoomDetailViewState) {
|
||||
|
@ -35,4 +35,3 @@ class JitsiWidgetProperties(private val uriString: String, val stringProvider: S
|
||||
?: mapOf()
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -226,7 +226,7 @@ class RoomDetailFragment @Inject constructor(
|
||||
AttachmentTypeSelectorView.Callback,
|
||||
AttachmentsHelper.Callback,
|
||||
// RoomWidgetsBannerView.Callback,
|
||||
ActiveCallView.Callback{
|
||||
ActiveCallView.Callback {
|
||||
|
||||
companion object {
|
||||
|
||||
@ -698,7 +698,6 @@ class RoomDetailFragment @Inject constructor(
|
||||
// A conference is already in progress!
|
||||
showDialogWithMessage(getString(R.string.conference_call_in_progress))
|
||||
} else {
|
||||
|
||||
AlertDialog.Builder(requireContext())
|
||||
.setTitle(if (isVideoCall) R.string.video_meeting else R.string.audio_meeting)
|
||||
.setMessage(R.string.audio_video_meeting_description)
|
||||
|
@ -44,7 +44,6 @@ sealed class RoomDetailViewEvents : VectorViewEvents {
|
||||
object ShowWaitingView: RoomDetailViewEvents()
|
||||
object HideWaitingView: RoomDetailViewEvents()
|
||||
|
||||
|
||||
data class FileTooBigError(
|
||||
val filename: String,
|
||||
val fileSizeInBytes: Long,
|
||||
|
@ -352,7 +352,7 @@ class RoomDetailViewModel @AssistedInject constructor(
|
||||
val roomId: String = room.roomId
|
||||
val confId = roomId.substring(1, roomId.indexOf(":") - 1) + widgetSessionId.toLowerCase(VectorLocale.applicationLocale)
|
||||
|
||||
//DO NOT COMMIT
|
||||
// DO NOT COMMIT
|
||||
val jitsiDomain = session.getHomeServerCapabilities().preferredJitsiDomain ?: stringProvider.getString(R.string.preferred_jitsi_domain)
|
||||
|
||||
// We use the default element wrapper for this widget
|
||||
@ -384,7 +384,6 @@ class RoomDetailViewModel @AssistedInject constructor(
|
||||
} finally {
|
||||
_viewEvents.post(RoomDetailViewEvents.HideWaitingView)
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user