mirror of
https://github.com/element-hq/element-android
synced 2024-11-28 04:52:00 +03:00
Use context.obtainStyledAttributes instead of context.theme.obtainStyledAttributes
This commit is contained in:
parent
47960c0dfd
commit
0750e80f04
3 changed files with 3 additions and 3 deletions
|
@ -61,7 +61,7 @@ class MapTilerMapView @JvmOverloads constructor(
|
|||
private var dimensionConverter: DimensionConverter? = null
|
||||
|
||||
init {
|
||||
context.theme.obtainStyledAttributes(
|
||||
context.obtainStyledAttributes(
|
||||
attrs,
|
||||
R.styleable.MapTilerMapView,
|
||||
0,
|
||||
|
|
|
@ -40,7 +40,7 @@ class LocationLiveEndedBannerView @JvmOverloads constructor(
|
|||
)
|
||||
|
||||
init {
|
||||
context.theme.obtainStyledAttributes(
|
||||
context.obtainStyledAttributes(
|
||||
attrs,
|
||||
R.styleable.LocationLiveEndedBannerView,
|
||||
0,
|
||||
|
|
|
@ -46,7 +46,7 @@ class LocationSharingOptionView @JvmOverloads constructor(
|
|||
)
|
||||
|
||||
init {
|
||||
context.theme.obtainStyledAttributes(
|
||||
context.obtainStyledAttributes(
|
||||
attrs,
|
||||
R.styleable.LocationSharingOptionView,
|
||||
0,
|
||||
|
|
Loading…
Reference in a new issue