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