Fix compilation
This commit is contained in:
parent
3e506968d1
commit
3436e1f789
1 changed files with 1 additions and 1 deletions
|
@ -586,7 +586,7 @@ class MyLocationTabFragment : Fragment(), TelegramListener {
|
||||||
holder.textInArea?.apply {
|
holder.textInArea?.apply {
|
||||||
val time = shareInfo?.additionalActiveTime ?: ADDITIONAL_ACTIVE_TIME_VALUES_SEC[0]
|
val time = shareInfo?.additionalActiveTime ?: ADDITIONAL_ACTIVE_TIME_VALUES_SEC[0]
|
||||||
visibility = View.VISIBLE
|
visibility = View.VISIBLE
|
||||||
text = "${getText(R.string.plus)} ${OsmandFormatter.getFormattedDuration(context!!, time)}"
|
text = "+ ${OsmandFormatter.getFormattedDuration(context!!, time)}"
|
||||||
setOnClickListener {
|
setOnClickListener {
|
||||||
val expireTime = shareInfo?.getChatLiveMessageExpireTime() ?: 0
|
val expireTime = shareInfo?.getChatLiveMessageExpireTime() ?: 0
|
||||||
val newLivePeriod = expireTime + (shareInfo?.additionalActiveTime ?: ADDITIONAL_ACTIVE_TIME_VALUES_SEC[0])
|
val newLivePeriod = expireTime + (shareInfo?.additionalActiveTime ?: ADDITIONAL_ACTIVE_TIME_VALUES_SEC[0])
|
||||||
|
|
Loading…
Reference in a new issue