real time location

This commit is contained in:
Arif Dwiyanto 2026-01-13 09:37:39 +07:00
parent d4d1b27209
commit 4d7fc844e2

View File

@ -78,7 +78,7 @@ fun kirimKeN8n(
conn.disconnect()
} catch (e: Exception) {
} catch (_: Exception) {
context.runOnUiThread {
Toast.makeText(
context,
@ -176,7 +176,7 @@ fun AbsensiScreen(
) { result ->
if (result.resultCode == Activity.RESULT_OK) {
val bitmap =
result.data?.extras?.get("data") as? Bitmap
result.data?.extras?.getParcelable("data", Bitmap::class.java)
if (bitmap != null) {
foto = bitmap
Toast.makeText(