mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2024-12-22 07:44:00 +01:00
Use context.obtainStyledAttributes instead of context.theme.obtainStyledAttributes
This commit is contained in:
parent
47960c0dfd
commit
0750e80f04
@ -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 New Issue
Block a user