Merge pull request #1745 from vector-im/feature/bma/lint

Feature/bma/lint
This commit is contained in:
Benoit Marty 2023-11-06 18:50:22 +01:00 committed by GitHub
commit 23c3e30876
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 4 additions and 3 deletions

View file

@ -16,11 +16,13 @@
package io.element.android.features.location.api
import android.annotation.SuppressLint
import android.os.Parcelable
import kotlinx.parcelize.Parcelize
private const val GEO_URI_REGEX = """geo:(?<latitude>-?\d+(?:\.\d+)?),(?<longitude>-?\d+(?:\.\d+)?)(?:;u=(?<uncertainty>\d+(?:\.\d+)?))?"""
@SuppressLint("NewApi")
@Parcelize
data class Location(
val lat: Double,