mirror of
https://gitlab.linphone.org/BC/public/linphone-android.git
synced 2026-01-17 03:18:06 +00:00
Revert change due to API change in SDK that was reverted
This commit is contained in:
parent
ae59911f0a
commit
a53542c092
1 changed files with 2 additions and 2 deletions
|
|
@ -87,13 +87,13 @@ class HelpViewModel @UiThread constructor() : GenericViewModel() {
|
|||
override fun onVersionUpdateCheckResultReceived(
|
||||
core: Core,
|
||||
result: VersionUpdateCheckResult,
|
||||
version: String,
|
||||
version: String?,
|
||||
url: String?
|
||||
) {
|
||||
when (result) {
|
||||
VersionUpdateCheckResult.NewVersionAvailable -> {
|
||||
Log.i("$TAG Update available, version [$version], url [$url]")
|
||||
if (version.isNotEmpty() && !url.isNullOrEmpty()) {
|
||||
if (!version.isNullOrEmpty() && !url.isNullOrEmpty()) {
|
||||
newVersionAvailableEvent.postValue(Event(Pair(version, url)))
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue