production errors
This commit is contained in:
@@ -80,7 +80,7 @@ class KitScanActivity : AppCompatActivity() {
|
|||||||
val rootView = findViewById<View>(android.R.id.content)
|
val rootView = findViewById<View>(android.R.id.content)
|
||||||
Snackbar.make(rootView, errorMessage, Snackbar.LENGTH_LONG).show()
|
Snackbar.make(rootView, errorMessage, Snackbar.LENGTH_LONG).show()
|
||||||
// Optionally, show a user-friendly error message to the user
|
// Optionally, show a user-friendly error message to the user
|
||||||
// For example, Toast.makeText(applicationContext, "An error occurred", Toast.LENGTH_SHORT).show()
|
// Toast.makeText(applicationContext, "An error occurred", Toast.LENGTH_SHORT).show()
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
with(sharedPreference.edit()) {
|
with(sharedPreference.edit()) {
|
||||||
|
|||||||
Reference in New Issue
Block a user