Inline NewConversationDelegate

pr/1451-ui-tweaks
Andrew 10 months ago
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…
Cancel
Save