mirror of
https://github.com/SimpleMobileTools/Simple-Draw.git
synced 2025-06-05 21:59:17 +02:00
show an error when something goes wrong at svg parsing
This commit is contained in:
@@ -110,7 +110,7 @@ class MainActivity : SimpleActivity(), MyCanvas.PathsChangedListener {
|
||||
private fun openFile() {
|
||||
FilePickerDialog(this, curPath) {
|
||||
if (it.endsWith(".svg")) {
|
||||
Svg.loadSvg(File(it), my_canvas)
|
||||
Svg.loadSvg(this, File(it), my_canvas)
|
||||
} else if (File(it).isImageSlow()) {
|
||||
|
||||
} else {
|
||||
|
Reference in New Issue
Block a user