Skip to content

Commit

Permalink
Remove the Smart Folder stuff when migrating.
Browse files Browse the repository at this point in the history
  • Loading branch information
MaddTheSane committed Jun 5, 2022
1 parent 80a4145 commit fe64986
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 19 deletions.
2 changes: 2 additions & 0 deletions Classes/Session/TSSTSessionWindowController.m
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,8 @@ - (void)windowDidLoad
{
[super windowDidLoad];
self.window.titleVisibility = NSWindowTitleHidden;
} else {
[super windowDidLoad];
}
}

Expand Down
5 changes: 2 additions & 3 deletions Classes/SimpleComicAppDelegate.m
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,7 @@ - (void)applicationDidFinishLaunching:(NSNotification *)aNotification

// Allow users to customize the app's Touch Bar items.
if (@available(macOS 10.12.2, *)) {
NSApplication.sharedApplication.automaticCustomizeTouchBarMenuItemEnabled = true;
NSApplication.sharedApplication.automaticCustomizeTouchBarMenuItemEnabled = YES;
}
}

Expand Down Expand Up @@ -565,11 +565,10 @@ - (void)endSession:(NSNotification *)notification

- (void)sessionRelaunch
{
TSSTManagedSession * session;
NSFetchRequest * sessionRequest = [TSSTManagedSession fetchRequest];
NSError * fetchError;
NSArray * managedSessions = [[self managedObjectContext] executeFetchRequest: sessionRequest error: &fetchError];
for(session in managedSessions)
for(TSSTManagedSession *session in managedSessions)
{
if([session.groups count] <= 0)
{
Expand Down
44 changes: 28 additions & 16 deletions Resources/V1ToV2.xcmappingmodel/xcmapping.xml

Large diffs are not rendered by default.

0 comments on commit fe64986

Please sign in to comment.