Skip to content
This repository has been archived by the owner on Jun 21, 2020. It is now read-only.

Commit

Permalink
[tweak] remove more stuff we're not really going to use
Browse files Browse the repository at this point in the history
  • Loading branch information
kirb committed Jul 7, 2017
1 parent ae45457 commit 85e9c8b
Showing 1 changed file with 0 additions and 16 deletions.
16 changes: 0 additions & 16 deletions HBCZNowPlayingBulletinProvider.m
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,6 @@ - (instancetype)init {

// construct our default subtype parameters
BBSectionSubtypeParameters *subtypeParameters = identity.sectionParameters.defaultSubtypeParameters;
//subtypeParameters.secondaryContentRemoteServiceBundleIdentifier = @"ws.hbang.canzone.app.notificationcontent";
//subtypeParameters.secondaryContentRemoteViewControllerClassName = @"NotificationViewController";
subtypeParameters.allowsAddingToLockScreenWhenUnlocked = YES;
subtypeParameters.allowsAutomaticRemovalFromLockScreen = NO;

Expand Down Expand Up @@ -136,20 +134,6 @@ - (void)postBulletinForApp:(SBApplication *)app title:(NSString *)title artist:(
bulletin.defaultAction = [BBAction actionWithLaunchBundleID:app.bundleIdentifier callblock:nil];
}

// on apple watch, launch NanoNowPlaying
// TODO: this doesn’t work :( maybe we’ll have to go back to the phone, then have the phone tell
// the watch to open the app
/*
BBAction *watchAction = [BBAction actionWithAppearance:[BBAppearance appearanceWithTitle:@"Open"]];
watchAction.identifier = @"open-on-watch";
watchAction.callblock = ^{ HBLogWarn(@"watch out bitchezz"); };
// set all our supplementary actions
bulletin.supplementaryActionsByLayout = @{
@1: @[ watchAction ]
};
*/

// get a UIImage of the art and hold onto it
_currentArt = [[UIImage alloc] initWithData:art];

Expand Down

0 comments on commit 85e9c8b

Please sign in to comment.