mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2025-03-15 18:59:12 +03:00
Fix possible class cast exception in url preview
Change-Id: Ibab1f314591abca7669f89df51dade70ddab383f
This commit is contained in:
parent
10c77f2b59
commit
5b07dbbeb9
1 changed files with 1 additions and 1 deletions
|
@ -171,7 +171,7 @@ class PreviewUrlViewSc @JvmOverloads constructor(
|
|||
}
|
||||
|
||||
public fun updateFooterSpace() {
|
||||
val siteText = views.urlPreviewSite.text as String?
|
||||
val siteText = views.urlPreviewSite.text?.toString()
|
||||
updateFooterSpaceInternal(siteText)
|
||||
requestLayout()
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue