Skip to content

Commit 2c7c720

Browse files
fix: use layoutInflater directly
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
1 parent dba9dc9 commit 2c7c720

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/src/main/java/com/nextcloud/talk/ui/dialog/DialogBanListFragment.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ class DialogBanListFragment(val roomToken: String) : DialogFragment() {
8282

8383
override fun onCreateView(inflater: LayoutInflater, container: ViewGroup?, savedInstanceState: Bundle?): View {
8484
NextcloudTalkApplication.sharedApplication!!.componentApplication.inject(this)
85-
binding = FragmentDialogBanListBinding.inflate(LayoutInflater.from(context))
85+
binding = FragmentDialogBanListBinding.inflate(layoutInflater)
8686
viewModel =
8787
ViewModelProvider(this, viewModelFactory)[ConversationInfoViewModel::class.java]
8888
conversationUser = currentUserProvider.currentUser.blockingGet()

0 commit comments

Comments
 (0)