Use default cell selection in popover menu.

Signed-off-by: Ivan Sein <ivan@nextcloud.com>
This commit is contained in:
Ivan Sein 2019-10-30 10:07:57 +01:00
Родитель 9180f555a9
Коммит 6a08323d04
2 изменённых файлов: 2 добавлений и 5 удалений

2
ThirdParty/FTPopOverMenu поставляемый

@ -1 +1 @@
Subproject commit 5e030873726d1be969952092f13d686408dcf627
Subproject commit 577a5946b819aaa2506ee1fd0e6e30335c2665f6

Просмотреть файл

@ -274,13 +274,10 @@ typedef void (^FetchRoomsCompletionBlock)(BOOL success);
menuConfiguration.textFont = [UIFont systemFontOfSize:15];
menuConfiguration.backgroundColor = [UIColor whiteColor];
menuConfiguration.borderWidth = 0;
menuConfiguration.ignoreImageOriginalColor = NO;
menuConfiguration.allowRoundedArrow = NO;
menuConfiguration.selectedTextColor = [UIColor darkTextColor];
menuConfiguration.selectedCellBackgroundColor = [UIColor colorWithWhite:0.8 alpha:1];
menuConfiguration.separatorColor = [UIColor colorWithWhite:0.85 alpha:1];
menuConfiguration.shadowOpacity = 0.8;
menuConfiguration.roundedImage = YES;
menuConfiguration.defaultSelection = YES;
[FTPopOverMenu showForSender:sender
withMenuArray:menuArray