mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-24 07:05:35 +00:00
Change memory notification method name
This commit is contained in:
@@ -82,10 +82,10 @@
|
||||
|
||||
+ (void)registerLowMemoryNotification
|
||||
{
|
||||
[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(lowMemoryWarning) name:UIApplicationDidReceiveMemoryWarningNotification object:nil];
|
||||
[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(didReceiveMemoryWarning:) name:UIApplicationDidReceiveMemoryWarningNotification object:nil];
|
||||
}
|
||||
|
||||
+ (void)lowMemoryWarning
|
||||
+ (void)didReceiveMemoryWarning:(NSNotification *)notification
|
||||
{
|
||||
#if ASRangeControllerAutomaticLowMemoryHandling
|
||||
ASWeakSet *rangeControllers = [self rangeControllers];
|
||||
|
||||
Reference in New Issue
Block a user