aboutsummaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
Diffstat (limited to 'app')
-rw-r--r--app/src/main/java/org/pacien/tincapp/activities/status/nodes/NodeListFragment.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/src/main/java/org/pacien/tincapp/activities/status/nodes/NodeListFragment.kt b/app/src/main/java/org/pacien/tincapp/activities/status/nodes/NodeListFragment.kt
index b4ec0fb..b96e5fb 100644
--- a/app/src/main/java/org/pacien/tincapp/activities/status/nodes/NodeListFragment.kt
+++ b/app/src/main/java/org/pacien/tincapp/activities/status/nodes/NodeListFragment.kt
@@ -76,7 +76,7 @@ class NodeListFragment : BaseFragment() {
76 private fun showNodeInfo(nodeName: String) { 76 private fun showNodeInfo(nodeName: String) {
77 val dialogTextViewBinding = StatusNodeInfoDialogBinding.inflate(layoutInflater) 77 val dialogTextViewBinding = StatusNodeInfoDialogBinding.inflate(layoutInflater)
78 78
79 AlertDialog.Builder(context!!) 79 AlertDialog.Builder(requireContext())
80 .setTitle(R.string.status_node_info_dialog_title) 80 .setTitle(R.string.status_node_info_dialog_title)
81 .setView(dialogTextViewBinding.root) 81 .setView(dialogTextViewBinding.root)
82 .setPositiveButton(R.string.status_node_info_dialog_close_action) { _, _ -> Unit } 82 .setPositiveButton(R.string.status_node_info_dialog_close_action) { _, _ -> Unit }