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