use a bit bigger text size on some places

This commit is contained in:
tibbi
2023-01-11 11:55:47 +01:00
parent 39b72dcf5d
commit 18b21f89a9
3 changed files with 6 additions and 3 deletions

View File

@ -16,6 +16,7 @@ import com.simplemobiletools.commons.adapters.MyRecyclerViewListAdapter
import com.simplemobiletools.commons.extensions.*
import com.simplemobiletools.commons.views.MyRecyclerView
import kotlinx.android.synthetic.main.item_timer.view.*
import me.grantland.widget.AutofitHelper
import org.greenrobot.eventbus.EventBus
class TimerAdapter(
@ -103,6 +104,7 @@ class TimerAdapter(
timer_label.setHintTextColor(textColor.adjustAlpha(0.7f))
timer_label.text = timer.label
AutofitHelper.create(timer_time)
timer_time.setTextColor(textColor)
timer_time.text = when (timer.state) {
is TimerState.Finished -> 0.getFormattedDuration()