forked from administrator/Starter-EAS-2025-2026
real time location
This commit is contained in:
parent
d4d1b27209
commit
4d7fc844e2
@ -78,7 +78,7 @@ fun kirimKeN8n(
|
|||||||
|
|
||||||
conn.disconnect()
|
conn.disconnect()
|
||||||
|
|
||||||
} catch (e: Exception) {
|
} catch (_: Exception) {
|
||||||
context.runOnUiThread {
|
context.runOnUiThread {
|
||||||
Toast.makeText(
|
Toast.makeText(
|
||||||
context,
|
context,
|
||||||
@ -176,7 +176,7 @@ fun AbsensiScreen(
|
|||||||
) { result ->
|
) { result ->
|
||||||
if (result.resultCode == Activity.RESULT_OK) {
|
if (result.resultCode == Activity.RESULT_OK) {
|
||||||
val bitmap =
|
val bitmap =
|
||||||
result.data?.extras?.get("data") as? Bitmap
|
result.data?.extras?.getParcelable("data", Bitmap::class.java)
|
||||||
if (bitmap != null) {
|
if (bitmap != null) {
|
||||||
foto = bitmap
|
foto = bitmap
|
||||||
Toast.makeText(
|
Toast.makeText(
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user