aboutsummaryrefslogtreecommitdiffhomepage
path: root/app/src/main/java/me/texx/Texx/CameraActivity.kt
diff options
context:
space:
mode:
authorMarvin Borner2018-09-01 02:34:08 +0200
committerMarvin Borner2018-09-01 02:34:08 +0200
commit2295bd4f8f4a1d565e69ab5931ae2f0108d24407 (patch)
treefe575cedac90778bbdfff80ce0cbb0043880ac2f /app/src/main/java/me/texx/Texx/CameraActivity.kt
parent02534de25c78ccb01b8fb8752483bca37e72d935 (diff)
Added drawing tool and color selection seekbar
Diffstat (limited to 'app/src/main/java/me/texx/Texx/CameraActivity.kt')
-rw-r--r--app/src/main/java/me/texx/Texx/CameraActivity.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/src/main/java/me/texx/Texx/CameraActivity.kt b/app/src/main/java/me/texx/Texx/CameraActivity.kt
index 2cb67c2..ed50f25 100644
--- a/app/src/main/java/me/texx/Texx/CameraActivity.kt
+++ b/app/src/main/java/me/texx/Texx/CameraActivity.kt
@@ -65,7 +65,7 @@ class CameraActivity : AppCompatActivity() {
override fun onPictureTaken(jpeg: ByteArray?) {
val file: File? = createFile()
writeFile(BitmapFactory.decodeByteArray(jpeg, 0, jpeg!!.size), file)
- startActivity(intentFor<MediaPreviewActivity>("filepath" to file.toString()))
+ startActivity(intentFor<PhotoEditorActivity>("filepath" to file.toString()))
}
})