зеркало из https://github.com/nextcloud/talk-ios.git
Fix swipe actions icons.
Signed-off-by: Ivan Sein <ivan@nextcloud.com>
This commit is contained in:
Родитель
208b81f63a
Коммит
61103391ec
|
@ -0,0 +1,23 @@
|
|||
{
|
||||
"images" : [
|
||||
{
|
||||
"filename" : "exit-white.png",
|
||||
"idiom" : "universal",
|
||||
"scale" : "1x"
|
||||
},
|
||||
{
|
||||
"filename" : "exit-white@2x.png",
|
||||
"idiom" : "universal",
|
||||
"scale" : "2x"
|
||||
},
|
||||
{
|
||||
"filename" : "exit-white@3x.png",
|
||||
"idiom" : "universal",
|
||||
"scale" : "3x"
|
||||
}
|
||||
],
|
||||
"info" : {
|
||||
"author" : "xcode",
|
||||
"version" : 1
|
||||
}
|
||||
}
|
Двоичные данные
VideoCalls/Images.xcassets/exit-white.imageset/exit-white.png
поставляемый
Normal file
Двоичные данные
VideoCalls/Images.xcassets/exit-white.imageset/exit-white.png
поставляемый
Normal file
Двоичный файл не отображается.
После Ширина: | Высота: | Размер: 288 B |
Двоичные данные
VideoCalls/Images.xcassets/exit-white.imageset/exit-white@2x.png
поставляемый
Normal file
Двоичные данные
VideoCalls/Images.xcassets/exit-white.imageset/exit-white@2x.png
поставляемый
Normal file
Двоичный файл не отображается.
После Ширина: | Высота: | Размер: 518 B |
Двоичные данные
VideoCalls/Images.xcassets/exit-white.imageset/exit-white@3x.png
поставляемый
Normal file
Двоичные данные
VideoCalls/Images.xcassets/exit-white.imageset/exit-white@3x.png
поставляемый
Normal file
Двоичный файл не отображается.
После Ширина: | Высота: | Размер: 695 B |
|
@ -0,0 +1,23 @@
|
|||
{
|
||||
"images" : [
|
||||
{
|
||||
"filename" : "fav-white.png",
|
||||
"idiom" : "universal",
|
||||
"scale" : "1x"
|
||||
},
|
||||
{
|
||||
"filename" : "fav-white@2x.png",
|
||||
"idiom" : "universal",
|
||||
"scale" : "2x"
|
||||
},
|
||||
{
|
||||
"filename" : "fav-white@3x.png",
|
||||
"idiom" : "universal",
|
||||
"scale" : "3x"
|
||||
}
|
||||
],
|
||||
"info" : {
|
||||
"author" : "xcode",
|
||||
"version" : 1
|
||||
}
|
||||
}
|
Двоичные данные
VideoCalls/Images.xcassets/fav-white.imageset/fav-white.png
поставляемый
Normal file
Двоичные данные
VideoCalls/Images.xcassets/fav-white.imageset/fav-white.png
поставляемый
Normal file
Двоичный файл не отображается.
После Ширина: | Высота: | Размер: 465 B |
Двоичные данные
VideoCalls/Images.xcassets/fav-white.imageset/fav-white@2x.png
поставляемый
Normal file
Двоичные данные
VideoCalls/Images.xcassets/fav-white.imageset/fav-white@2x.png
поставляемый
Normal file
Двоичный файл не отображается.
После Ширина: | Высота: | Размер: 865 B |
Двоичные данные
VideoCalls/Images.xcassets/fav-white.imageset/fav-white@3x.png
поставляемый
Normal file
Двоичные данные
VideoCalls/Images.xcassets/fav-white.imageset/fav-white@3x.png
поставляемый
Normal file
Двоичный файл не отображается.
После Ширина: | Высота: | Размер: 1.3 KiB |
|
@ -799,7 +799,7 @@ API_AVAILABLE(ios(11.0)){
|
|||
[self deleteRoomAtIndexPath:indexPath];
|
||||
completionHandler(false);
|
||||
}];
|
||||
deleteAction.image = [UIImage imageNamed:@"delete-action"];
|
||||
deleteAction.image = [UIImage imageNamed:@"delete"];
|
||||
|
||||
NCRoom *room = [_rooms objectAtIndex:indexPath.row];
|
||||
if (room.isLeavable) {
|
||||
|
@ -808,7 +808,7 @@ API_AVAILABLE(ios(11.0)){
|
|||
[self leaveRoomAtIndexPath:indexPath];
|
||||
completionHandler(false);
|
||||
}];
|
||||
deleteAction.image = [UIImage imageNamed:@"exit-action"];
|
||||
deleteAction.image = [UIImage imageNamed:@"exit-white"];
|
||||
}
|
||||
|
||||
return [UISwipeActionsConfiguration configurationWithActions:@[deleteAction, moreAction]];
|
||||
|
@ -826,7 +826,7 @@ API_AVAILABLE(ios(11.0)){
|
|||
}
|
||||
completionHandler(true);
|
||||
}];
|
||||
favoriteAction.image = [UIImage imageNamed:@"fav-setting"];
|
||||
favoriteAction.image = [UIImage imageNamed:@"fav-white"];
|
||||
favoriteAction.backgroundColor = [UIColor colorWithRed:0.97 green:0.80 blue:0.27 alpha:1.0]; // Favorite yellow
|
||||
|
||||
return [UISwipeActionsConfiguration configurationWithActions:@[favoriteAction]];
|
||||
|
|
Загрузка…
Ссылка в новой задаче