mirror of
https://github.com/samuelclay/NewsBlur.git
synced 2025-08-31 21:41:33 +00:00
Don’t enable drag and drop on iPhone as it isn’t helpful.
References #1072.
This commit is contained in:
parent
4195ed1584
commit
a37dbb25fc
1 changed files with 4 additions and 2 deletions
|
@ -86,8 +86,10 @@
|
|||
self.storyTitlesTable.backgroundColor = UIColorFromRGB(0xf4f4f4);
|
||||
self.storyTitlesTable.separatorColor = UIColorFromRGB(0xE9E8E4);
|
||||
if (@available(iOS 11.0, *)) {
|
||||
self.storyTitlesTable.dragDelegate = self;
|
||||
self.storyTitlesTable.dragInteractionEnabled = YES;
|
||||
if (UI_USER_INTERFACE_IDIOM() == UIUserInterfaceIdiomPad) {
|
||||
self.storyTitlesTable.dragDelegate = self;
|
||||
self.storyTitlesTable.dragInteractionEnabled = YES;
|
||||
}
|
||||
}
|
||||
self.view.backgroundColor = UIColorFromRGB(0xf4f4f4);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue