diff --git a/app/src/main/java/eu/m724/vastapp/activity/dashboard/DashboardViewModel.kt b/app/src/main/java/eu/m724/vastapp/activity/dashboard/DashboardViewModel.kt index ea49b0b..1701f1f 100644 --- a/app/src/main/java/eu/m724/vastapp/activity/dashboard/DashboardViewModel.kt +++ b/app/src/main/java/eu/m724/vastapp/activity/dashboard/DashboardViewModel.kt @@ -99,7 +99,6 @@ class DashboardViewModel( // TODO I don't like this function especially the last line } - @SuppressLint("SdCardPath") fun sshButtonClick(activity: ComponentActivity, rentedInstance: RentedInstance) { val sshCommand = "ssh -p ${rentedInstance.sshProxyPort} root@${rentedInstance.sshProxyHost}" val context = activity.applicationContext @@ -137,6 +136,7 @@ class DashboardViewModel( Opener.copyToClipboard(text, "ssh command", context) } + @SuppressLint("SdCardPath") private fun startTermux(context: Context, arguments: Array) { val noSshIntent = Intent(context, TermuxSshActivity::class.java) val pendingIntent = PendingIntent.getActivity(