Dark Theme - Fix Manu's remarks

This commit is contained in:
Giom Foret
2017-08-16 09:40:47 +02:00
parent 8a42a7ff09
commit b691abd9c7
2 changed files with 15 additions and 6 deletions
@@ -63,4 +63,15 @@
return kRiotDesignStatusBarStyle;
}
- (void)destroy
{
if (kRiotDesignValuesDidChangeThemeNotificationObserver)
{
[[NSNotificationCenter defaultCenter] removeObserver:kRiotDesignValuesDidChangeThemeNotificationObserver];
kRiotDesignValuesDidChangeThemeNotificationObserver = nil;
}
[super destroy];
}
@end