File tree 1 file changed +1
-19
lines changed
1 file changed +1
-19
lines changed Original file line number Diff line number Diff line change 4
4
//
5
5
// Repo: https://github.com/johnno1962/GitDiff
6
6
//
7
- // $Id: //depot/GitDiff/Classes/GitDiff.mm#58 $
7
+ // $Id: //depot/GitDiff/Classes/GitDiff.mm#60 $
8
8
//
9
9
// Created by John Holdsworth on 26/07/2014.
10
10
// Copyright (c) 2014 John Holdsworth. All rights reserved.
@@ -87,24 +87,6 @@ + (void)swizzleClass:(Class)aClass exchange:(SEL)origMethod with:(SEL)altMethod
87
87
class_getInstanceMethod (aClass, altMethod));
88
88
}
89
89
90
- - (instancetype )init
91
- {
92
- self = [super init ];
93
- if (!self) return nil ;
94
-
95
- NSUserDefaults *userDefaults = [NSUserDefaults standardUserDefaults ];
96
-
97
- if (![userDefaults objectForKey: @" GitDiffGutterMode" ]) {
98
- [userDefaults setInteger: GitDiffGutterTypeDefault forKey: @" GitDiffGutterMode" ];
99
- }
100
-
101
- if (![userDefaults objectForKey: @" GitDiffWrapNavigation" ]) {
102
- [userDefaults setInteger: GitDiffWrapNavigationDefault forKey: @" GitDiffWrapNavigation" ];
103
- }
104
-
105
- return self;
106
- }
107
-
108
90
- (void )insertMenuItems
109
91
{
110
92
NSMenu *editorMenu = [[[NSApp mainMenu ] itemWithTitle: @" Edit" ] submenu ];
You can’t perform that action at this time.
0 commit comments