Skip to content

Commit 3110d44

Browse files
committed
Move offsets into a method so we can eventually deal with #1
1 parent 93a94e9 commit 3110d44

File tree

2 files changed

+3
-7
lines changed

2 files changed

+3
-7
lines changed

JWToolbarAdaptiveSpaceItem.m

-4
Original file line numberDiff line numberDiff line change
@@ -46,10 +46,6 @@ - (void)updateWidth
4646
Resizes the adaptive toolbar item and makes sure that we don't
4747
make the toolbar do funky things when the linked view collapses
4848
*/
49-
if(self.window) {
50-
NSLog(@"%d", self.window.styleMask);
51-
}
52-
5349
if (self.linkedView.frame.size.width-self.offset > -8)
5450
{
5551
[self setMinSize:NSMakeSize(self.linkedView.frame.size.width-self.offset, 0)];

Twitch/TwitchAPI.swift

+3-3
Original file line numberDiff line numberDiff line change
@@ -62,9 +62,9 @@ extension TwitchAPI : TargetType {
6262
}
6363

6464
var sampleData: NSData {
65-
// switch self {
66-
// default:
65+
switch self {
66+
default:
6767
return NSData()
68-
// }
68+
}
6969
}
7070
}

0 commit comments

Comments
 (0)