adam-gui/vendor/fyne.io/fyne/v2/internal/driver/mobile/uri.go
2024-04-29 19:13:50 +02:00

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
}