Skip to content

Commit 9c75682

Browse files
author
Dan Oprea
committed
Change code to fix warning
1 parent c54c8e2 commit 9c75682

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/src/main/java/com/dan/perspective/BusyDialog.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,12 +52,12 @@ class BusyDialog(private val title: String): DialogFragment() {
5252

5353
override fun onCreateView(inflater: LayoutInflater, container: ViewGroup?, savedInstanceState: Bundle?): View? {
5454
val binding = BusyDialogBinding.inflate( inflater )
55-
binding.title.setText(title)
55+
binding.title.text = title
5656
this.binding = binding
5757
return binding.root
5858
}
5959

6060
fun setTitle(title: String) {
61-
binding.title.setText(title)
61+
binding.title.text = title
6262
}
6363
}

0 commit comments

Comments
 (0)