mirror of
https://github.com/MacPass/MacPass.git
synced 2025-12-16 10:32:21 +00:00
use class propeties
This commit is contained in:
@@ -115,7 +115,7 @@ typedef NS_ENUM(NSUInteger, MPDatePreset) {
|
||||
default:
|
||||
return; // Nothing to do;
|
||||
}
|
||||
self.datePicker.dateValue = [gregorian dateByAddingComponents:offsetComponents toDate:[NSDate date] options:0];
|
||||
self.datePicker.dateValue = [gregorian dateByAddingComponents:offsetComponents toDate:NSDate.date options:0];
|
||||
}
|
||||
|
||||
@end
|
||||
|
||||
Reference in New Issue
Block a user