Formatting

This commit is contained in:
Daniel Schulte 2020-12-16 19:56:50 +01:00
parent fdc597c8d3
commit b8bc284c8d
1 changed files with 4 additions and 2 deletions

View File

@ -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;