mirror of
https://github.com/fastfetch-cli/fastfetch.git
synced 2026-10-29 16:26:39 +01:00
Android: enable mutltithreading public-ip / weather detection
This commit is contained in:
+7
-4
@@ -1527,11 +1527,14 @@ int main(int argc, const char** argv)
|
||||
if(ffStrbufContainIgnCaseS(&data.structure, "CPUUsage"))
|
||||
ffPrepareCPUUsage();
|
||||
|
||||
if(ffStrbufContainIgnCaseS(&data.structure, "PublicIp"))
|
||||
ffPreparePublicIp(&instance);
|
||||
if(instance.config.multithreading)
|
||||
{
|
||||
if(ffStrbufContainIgnCaseS(&data.structure, "PublicIp"))
|
||||
ffPreparePublicIp(&instance);
|
||||
|
||||
if(ffStrbufContainIgnCaseS(&data.structure, "Weather"))
|
||||
ffPrepareWeather(&instance);
|
||||
if(ffStrbufContainIgnCaseS(&data.structure, "Weather"))
|
||||
ffPrepareWeather(&instance);
|
||||
}
|
||||
|
||||
ffStart(&instance);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user