mirror of
https://github.com/oxen-io/session-android.git
synced 2025-02-17 12:08:26 +00:00
Inline NewConversationDelegate
This commit is contained in:
parent
8fd653c9d4
commit
a2cce441a8
@ -55,12 +55,10 @@ class NewConversationHomeFragment : Fragment() {
|
||||
container: ViewGroup?,
|
||||
savedInstanceState: Bundle?
|
||||
): View = createThemedComposeView {
|
||||
delegate.collectAsState().value.let {
|
||||
NewConversationScreen(
|
||||
accountId = TextSecurePreferences.getLocalNumber(requireContext())!!,
|
||||
delegate = it
|
||||
)
|
||||
}
|
||||
NewConversationScreen(
|
||||
accountId = TextSecurePreferences.getLocalNumber(requireContext())!!,
|
||||
delegate = delegate.collectAsState().value
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user