mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2025-03-18 04:08:44 +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…
Add table
Reference in a new issue