Combo: Fix visual glitch in fragment.
This commit is contained in:
parent
f511b9ed39
commit
d15ada5cd9
2 changed files with 5 additions and 1 deletions
|
@ -124,6 +124,10 @@ public class ComboFragment extends SubscriberFragment implements View.OnClickLis
|
||||||
activityView.setTextColor(Color.WHITE);
|
activityView.setTextColor(Color.WHITE);
|
||||||
activityView.setTextSize(14);
|
activityView.setTextSize(14);
|
||||||
activityView.setText(activity);
|
activityView.setText(activity);
|
||||||
|
} else if (ConfigBuilderPlugin.getCommandQueue().size() > 0) {
|
||||||
|
activityView.setTextColor(Color.WHITE);
|
||||||
|
activityView.setTextSize(14);
|
||||||
|
activityView.setText("");
|
||||||
} else if (plugin.isInitialized()){
|
} else if (plugin.isInitialized()){
|
||||||
activityView.setTextColor(Color.WHITE);
|
activityView.setTextColor(Color.WHITE);
|
||||||
activityView.setTextSize(20);
|
activityView.setTextSize(20);
|
||||||
|
|
|
@ -75,7 +75,7 @@ import info.nightscout.androidaps.queue.commands.CommandTempBasalPercent;
|
||||||
public class CommandQueue {
|
public class CommandQueue {
|
||||||
private static Logger log = LoggerFactory.getLogger(CommandQueue.class);
|
private static Logger log = LoggerFactory.getLogger(CommandQueue.class);
|
||||||
|
|
||||||
private LinkedList<Command> queue = new LinkedList<>();
|
private final LinkedList<Command> queue = new LinkedList<>();
|
||||||
protected Command performing;
|
protected Command performing;
|
||||||
|
|
||||||
private QueueThread thread = null;
|
private QueueThread thread = null;
|
||||||
|
|
Loading…
Add table
Reference in a new issue