Formatting
This commit is contained in:
parent
fdc597c8d3
commit
b8bc284c8d
|
@ -573,6 +573,7 @@ static void run()
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if(config.count("apiKey") && config["apiKey"].is_string()) {
|
if(config.count("apiKey") && config["apiKey"].is_string()) {
|
||||||
yt_config.api_key = config["apiKey"];
|
yt_config.api_key = config["apiKey"];
|
||||||
} else {
|
} else {
|
||||||
|
@ -610,8 +611,9 @@ static void run()
|
||||||
add_channel_to_list(channel);
|
add_channel_to_list(channel);
|
||||||
}
|
}
|
||||||
|
|
||||||
if(channels.size())
|
if(channels.size()) {
|
||||||
select_channel_by_index(0);
|
select_channel_by_index(0);
|
||||||
|
}
|
||||||
|
|
||||||
bool exit = false;
|
bool exit = false;
|
||||||
bool force_repaint = false;
|
bool force_repaint = false;
|
||||||
|
|
Loading…
Reference in New Issue