mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2024-11-26 19:36:08 +03:00
Removing a completed TODO
This commit is contained in:
parent
ef13f6033c
commit
0ec4ccf5da
1 changed files with 0 additions and 1 deletions
|
@ -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"))
|
||||||
|
|
Loading…
Reference in a new issue