mirror of
https://github.com/oxen-io/session-android.git
synced 2024-12-23 00:17:34 +00:00
refactor: remove unused parameter
This commit is contained in:
parent
41c05b1e67
commit
2acb7b5169
@ -24,7 +24,6 @@ import org.session.libsignal.protos.SignalServiceProtos
|
|||||||
import org.thoughtcrime.securesms.conversation.v2.utilities.MentionManagerUtilities
|
import org.thoughtcrime.securesms.conversation.v2.utilities.MentionManagerUtilities
|
||||||
import org.thoughtcrime.securesms.database.GroupDatabase
|
import org.thoughtcrime.securesms.database.GroupDatabase
|
||||||
import org.thoughtcrime.securesms.database.LokiAPIDatabase
|
import org.thoughtcrime.securesms.database.LokiAPIDatabase
|
||||||
import org.thoughtcrime.securesms.mms.GlideRequests
|
|
||||||
import org.thoughtcrime.securesms.util.DateUtils
|
import org.thoughtcrime.securesms.util.DateUtils
|
||||||
import java.util.Locale
|
import java.util.Locale
|
||||||
import javax.inject.Inject
|
import javax.inject.Inject
|
||||||
@ -77,8 +76,7 @@ class ConversationActionBarView : LinearLayout {
|
|||||||
threadId: Long,
|
threadId: Long,
|
||||||
recipient: Recipient,
|
recipient: Recipient,
|
||||||
config: ExpirationConfiguration? = null,
|
config: ExpirationConfiguration? = null,
|
||||||
openGroup: OpenGroup? = null,
|
openGroup: OpenGroup? = null
|
||||||
glide: GlideRequests
|
|
||||||
) {
|
) {
|
||||||
this.delegate = delegate
|
this.delegate = delegate
|
||||||
@DimenRes val sizeID: Int = if (recipient.isClosedGroupRecipient) {
|
@DimenRes val sizeID: Int = if (recipient.isClosedGroupRecipient) {
|
||||||
|
@ -578,7 +578,13 @@ class ConversationActivityV2 : PassphraseRequiredActionBarActivity(), InputBarDe
|
|||||||
actionBar.title = ""
|
actionBar.title = ""
|
||||||
actionBar.setDisplayHomeAsUpEnabled(true)
|
actionBar.setDisplayHomeAsUpEnabled(true)
|
||||||
actionBar.setHomeButtonEnabled(true)
|
actionBar.setHomeButtonEnabled(true)
|
||||||
binding!!.toolbarContent.bind(this, viewModel.threadId, recipient, viewModel.expirationConfiguration, viewModel.openGroup, glide)
|
binding!!.toolbarContent.bind(
|
||||||
|
this,
|
||||||
|
viewModel.threadId,
|
||||||
|
recipient,
|
||||||
|
viewModel.expirationConfiguration,
|
||||||
|
viewModel.openGroup
|
||||||
|
)
|
||||||
maybeUpdateToolbar(recipient)
|
maybeUpdateToolbar(recipient)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user