Oops - read better and you're right - link.platform should be Platform.current()