diff options
author | euxane | 2024-09-18 23:41:13 +0200 |
---|---|---|
committer | euxane | 2024-09-18 23:41:13 +0200 |
commit | 36879215b40125d7ec02da7a8cfcfc85877fcd5b (patch) | |
tree | 3f1152981dbbf56385daeaa872feab1da5062d8d /app/src/main | |
parent | 90404626d927ce26d2e016f3dfcd677ffccfcde7 (diff) | |
download | tincapp-36879215b40125d7ec02da7a8cfcfc85877fcd5b.tar.gz |
status/nodes: remove deprecated context call
Diffstat (limited to 'app/src/main')
-rw-r--r-- | app/src/main/java/org/pacien/tincapp/activities/status/nodes/NodeListFragment.kt | 2 |
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 } |