Skip to content

Commit

Permalink
Move offsets into a method so we can eventually deal with #1
Browse files Browse the repository at this point in the history
  • Loading branch information
omgitsads committed Mar 29, 2016
1 parent 93a94e9 commit 3110d44
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
4 changes: 0 additions & 4 deletions JWToolbarAdaptiveSpaceItem.m
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,6 @@ - (void)updateWidth
Resizes the adaptive toolbar item and makes sure that we don't
make the toolbar do funky things when the linked view collapses
*/
if(self.window) {
NSLog(@"%d", self.window.styleMask);
}

if (self.linkedView.frame.size.width-self.offset > -8)
{
[self setMinSize:NSMakeSize(self.linkedView.frame.size.width-self.offset, 0)];
Expand Down
6 changes: 3 additions & 3 deletions Twitch/TwitchAPI.swift
Original file line number Diff line number Diff line change
Expand Up @@ -62,9 +62,9 @@ extension TwitchAPI : TargetType {
}

var sampleData: NSData {
// switch self {
// default:
switch self {
default:
return NSData()
// }
}
}
}

0 comments on commit 3110d44

Please sign in to comment.