Skip to content

Commit

Permalink
Moved code around a little
Browse files Browse the repository at this point in the history
  • Loading branch information
jarush committed Nov 21, 2013
1 parent 912820d commit 2335d9e
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions MiniKeePass/MiniKeePassAppDelegate.m
Original file line number Diff line number Diff line change
Expand Up @@ -275,10 +275,11 @@ - (void)handlePasteboardNotification:(NSNotification *)notification {

// Get the clear clipboard timeout (in seconds)
NSInteger clearClipboardTimeout = [appSettings clearClipboardTimeout];


UIApplication *application = [UIApplication sharedApplication];

// Initiate a background task
__block UIBackgroundTaskIdentifier bgTask;
UIApplication *application = [UIApplication sharedApplication];
bgTask = [application beginBackgroundTaskWithExpirationHandler:^{
// End the background task
[application endBackgroundTask:bgTask];
Expand Down

0 comments on commit 2335d9e

Please sign in to comment.