removed unwanted toast messages
This commit is contained in:
@@ -19,8 +19,8 @@ android {
|
|||||||
applicationId "in.sminnovations.hpostesting.dev"
|
applicationId "in.sminnovations.hpostesting.dev"
|
||||||
minSdk 21
|
minSdk 21
|
||||||
targetSdk 34
|
targetSdk 34
|
||||||
versionCode 112
|
versionCode 117
|
||||||
versionName "2.1.112"
|
versionName "2.1.117"
|
||||||
|
|
||||||
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -379,20 +379,20 @@ class HomeFragment : Fragment() {
|
|||||||
val fileName = "nats_certificate.zip"
|
val fileName = "nats_certificate.zip"
|
||||||
val downloadDirectory = "NATS"
|
val downloadDirectory = "NATS"
|
||||||
val file = downloadFile(url, requireContext(), fileName, downloadDirectory)
|
val file = downloadFile(url, requireContext(), fileName, downloadDirectory)
|
||||||
Toast.makeText(
|
// Toast.makeText(
|
||||||
requireContext(),
|
// requireContext(),
|
||||||
"NATS certificate Downloaded",
|
// "NATS certificate Downloaded",
|
||||||
Toast.LENGTH_SHORT
|
// Toast.LENGTH_SHORT
|
||||||
).show()
|
// ).show()
|
||||||
|
|
||||||
val unzipDirectoryPath =
|
val unzipDirectoryPath =
|
||||||
requireContext().getExternalFilesDir(null)?.absolutePath + "/$downloadDirectory"
|
requireContext().getExternalFilesDir(null)?.absolutePath + "/$downloadDirectory"
|
||||||
unzip(file.absolutePath, unzipDirectoryPath)
|
unzip(file.absolutePath, unzipDirectoryPath)
|
||||||
Toast.makeText(
|
// Toast.makeText(
|
||||||
requireContext(),
|
// requireContext(),
|
||||||
"NATS certificate Extracted",
|
// "NATS certificate Extracted",
|
||||||
Toast.LENGTH_SHORT
|
// Toast.LENGTH_SHORT
|
||||||
).show()
|
// ).show()
|
||||||
}
|
}
|
||||||
|
|
||||||
is Result.Error -> {
|
is Result.Error -> {
|
||||||
|
|||||||
Reference in New Issue
Block a user