fixes
This commit is contained in:
parent
add8b71ea3
commit
a4f4894985
1 changed files with 9 additions and 10 deletions
|
@ -187,10 +187,9 @@ class OverviewFragment : DaggerFragment(), View.OnClickListener, OnLongClickList
|
|||
overview_bggraph?.gridLabelRenderer?.reloadStyles()
|
||||
overview_bggraph?.gridLabelRenderer?.labelVerticalWidth = axisWidth
|
||||
|
||||
val carbicon = overview_carbs_icon;
|
||||
carbAnimation = carbicon.background as AnimationDrawable
|
||||
carbAnimation.setEnterFadeDuration(1200);
|
||||
carbAnimation.setExitFadeDuration(1200);
|
||||
carbAnimation = overview_carbs_icon.background as AnimationDrawable
|
||||
carbAnimation.setEnterFadeDuration(1200)
|
||||
carbAnimation.setExitFadeDuration(1200)
|
||||
|
||||
rangeToDisplay = sp.getInt(R.string.key_rangetodisplay, 6)
|
||||
|
||||
|
@ -748,7 +747,7 @@ class OverviewFragment : DaggerFragment(), View.OnClickListener, OnLongClickList
|
|||
|
||||
val lastRun = loopPlugin.lastRun
|
||||
if (config.APS && lastRun?.constraintsProcessed != null && lastRun?.constraintsProcessed.carbsReq > 0) {
|
||||
overview_cob?.text = cobText + " ("+lastRun?.constraintsProcessed.carbsReq + " req)"
|
||||
overview_cob?.text = cobText + " *" + lastRun?.constraintsProcessed.carbsReq + " "+R.string.required+"*"
|
||||
if (!carbAnimation.isRunning)
|
||||
carbAnimation.start()
|
||||
} else {
|
||||
|
|
Loading…
Add table
Reference in a new issue