Removing a completed TODO

This commit is contained in:
Maxime NATUREL 2022-10-06 14:35:50 +02:00
parent ef13f6033c
commit 0ec4ccf5da

View file

@ -75,7 +75,6 @@ class ParseDeviceUserAgentUseCase @Inject constructor() {
private fun parseDesktopUserAgent(userAgent: String): DeviceExtendedInfo { private fun parseDesktopUserAgent(userAgent: String): DeviceExtendedInfo {
val browserSegments = userAgent.split(" ") val browserSegments = userAgent.split(" ")
// TODO parse the whole version of browser
val (browserName, browserVersion) = when { val (browserName, browserVersion) = when {
isFirefox(browserSegments) -> { isFirefox(browserSegments) -> {
Pair("Firefox", getBrowserVersion(browserSegments, "Firefox")) Pair("Firefox", getBrowserVersion(browserSegments, "Firefox"))