mirror of
https://github.com/oxen-io/session-android.git
synced 2024-12-22 16:07:30 +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.database.GroupDatabase
|
||||
import org.thoughtcrime.securesms.database.LokiAPIDatabase
|
||||
import org.thoughtcrime.securesms.mms.GlideRequests
|
||||
import org.thoughtcrime.securesms.util.DateUtils
|
||||
import java.util.Locale
|
||||
import javax.inject.Inject
|
||||
@ -77,8 +76,7 @@ class ConversationActionBarView : LinearLayout {
|
||||
threadId: Long,
|
||||
recipient: Recipient,
|
||||
config: ExpirationConfiguration? = null,
|
||||
openGroup: OpenGroup? = null,
|
||||
glide: GlideRequests
|
||||
openGroup: OpenGroup? = null
|
||||
) {
|
||||
this.delegate = delegate
|
||||
@DimenRes val sizeID: Int = if (recipient.isClosedGroupRecipient) {
|
||||
|
@ -578,7 +578,13 @@ class ConversationActivityV2 : PassphraseRequiredActionBarActivity(), InputBarDe
|
||||
actionBar.title = ""
|
||||
actionBar.setDisplayHomeAsUpEnabled(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)
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user