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(
|
override fun onVersionUpdateCheckResultReceived(
|
||||||
core: Core,
|
core: Core,
|
||||||
result: VersionUpdateCheckResult,
|
result: VersionUpdateCheckResult,
|
||||||
version: String,
|
version: String?,
|
||||||
url: String?
|
url: String?
|
||||||
) {
|
) {
|
||||||
when (result) {
|
when (result) {
|
||||||
VersionUpdateCheckResult.NewVersionAvailable -> {
|
VersionUpdateCheckResult.NewVersionAvailable -> {
|
||||||
Log.i("$TAG Update available, version [$version], url [$url]")
|
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)))
|
newVersionAvailableEvent.postValue(Event(Pair(version, url)))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue