aboutsummaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authoreuxane2024-09-18 23:41:13 +0200
committereuxane2024-09-18 23:41:13 +0200
commit36879215b40125d7ec02da7a8cfcfc85877fcd5b (patch)
tree3f1152981dbbf56385daeaa872feab1da5062d8d /app
parent90404626d927ce26d2e016f3dfcd677ffccfcde7 (diff)
downloadtincapp-36879215b40125d7ec02da7a8cfcfc85877fcd5b.tar.gz
status/nodes: remove deprecated context call
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 }