diff --git a/MWKit/MWImageTools.m b/MWKit/MWImageTools.m index 6365257..efd3800 100644 --- a/MWKit/MWImageTools.m +++ b/MWKit/MWImageTools.m @@ -435,7 +435,9 @@ +(NSData*)imageDataForHomeScreen:(NSDictionary*)dataDict{ weatherIcon=[NSImage imageNamed:@"weather_rain.bmp"]; }else if ([condition isEqualToString:@"Chance of Rain"]) { weatherIcon=[NSImage imageNamed:@"weather_rain.bmp"]; - } + } else if ([condition isEqualToString:@"Chance of Storm"]) { + weatherIcon=[NSImage imageNamed:@"weather_rain.bmp"]; + } else { weatherIcon=[NSImage imageNamed:@"weather_sunny.bmp"]; } [weatherIcon drawAtPoint:NSMakePoint(5, 42) fromRect:NSMakeRect(0, 0, 24, 24) operation:NSCompositeCopy fraction:1.0];