18 lines
268 B
Go
18 lines
268 B
Go
|
//go:build !android
|
||
|
// +build !android
|
||
|
|
||
|
package mobile
|
||
|
|
||
|
import (
|
||
|
"fyne.io/fyne/v2"
|
||
|
"fyne.io/fyne/v2/storage"
|
||
|
)
|
||
|
|
||
|
func nativeURI(path string) fyne.URI {
|
||
|
uri, err := storage.ParseURI(path)
|
||
|
if err != nil {
|
||
|
fyne.LogError("Error on parsing uri", err)
|
||
|
}
|
||
|
return uri
|
||
|
}
|