Fix compilation

This commit is contained in:
Victor Shcherb 2018-10-30 01:22:59 +01:00
parent 3e506968d1
commit 3436e1f789

View file

@ -586,7 +586,7 @@ class MyLocationTabFragment : Fragment(), TelegramListener {
holder.textInArea?.apply {
val time = shareInfo?.additionalActiveTime ?: ADDITIONAL_ACTIVE_TIME_VALUES_SEC[0]
visibility = View.VISIBLE
text = "${getText(R.string.plus)} ${OsmandFormatter.getFormattedDuration(context!!, time)}"
text = "+ ${OsmandFormatter.getFormattedDuration(context!!, time)}"
setOnClickListener {
val expireTime = shareInfo?.getChatLiveMessageExpireTime() ?: 0
val newLivePeriod = expireTime + (shareInfo?.additionalActiveTime ?: ADDITIONAL_ACTIVE_TIME_VALUES_SEC[0])