Merge pull request #1745 from vector-im/feature/bma/lint
Feature/bma/lint
This commit is contained in:
commit
23c3e30876
4 changed files with 4 additions and 3 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue