rob42
09/18/2024, 9:49 AMLocalUriHandler
is not present outside of a window? e.g. this will throw "CompositionLocal LocalUriHandler not present".
private fun main() = application {
LocalUriHandler.current.openUri("<https://google.com/>")
}
Fergus Hewson
09/18/2024, 9:58 AMrob42
09/18/2024, 10:07 AMapplication { }
is a compose context. PlatformUriHandler
is internal too, so there's no way to access it!rob42
09/18/2024, 10:07 AMAlexander Maryanovsky
09/18/2024, 12:35 PMrob42
09/18/2024, 12:56 PM