Commit 56a1a759 authored by Soomin Lee's avatar Soomin Lee Committed by Jean-Baptiste Kempf

iOS: Change default repeat icon

Signed-off-by: Jean-Baptiste Kempf's avatarJean-Baptiste Kempf <jb@videolan.org>
parent e18ff395
......@@ -49,7 +49,7 @@
[self addSubview:_chapterSelectorButton];
_repeatButton = [UIButton buttonWithType:UIButtonTypeCustom];
[_repeatButton setImage:[UIImage imageNamed:@"repeat"] forState:UIControlStateNormal];
[_repeatButton setImage:[UIImage imageNamed:@"no-repeat"] forState:UIControlStateNormal];
_repeatButton.frame = CGRectMake(spacer, spacer + buttonHeight + spacer + buttonHeight + spacer, buttonWidth, buttonHeight);
[_repeatButton addTarget:self action:@selector(repeatAction:) forControlEvents:UIControlEventTouchUpInside];
_repeatButton.autoresizingMask = UIViewAutoresizingFlexibleTopMargin;
......@@ -161,11 +161,11 @@
[_repeatButton setImage:[UIImage imageNamed:@"repeatOne"] forState:UIControlStateNormal];
break;
case VLCRepeatAllItems:
[_repeatButton setImage:[UIImage imageNamed:@"repeatList"] forState:UIControlStateNormal];
[_repeatButton setImage:[UIImage imageNamed:@"repeat"] forState:UIControlStateNormal];
break;
case VLCDoNotRepeat:
default:
[_repeatButton setImage:[UIImage imageNamed:@"repeat"] forState:UIControlStateNormal];
[_repeatButton setImage:[UIImage imageNamed:@"no-repeat"] forState:UIControlStateNormal];
break;
}
}
......
{
"info" : {
"version" : 1,
"author" : "xcode"
}
}
\ No newline at end of file
......@@ -2,18 +2,18 @@
"images" : [
{
"idiom" : "universal",
"scale" : "1x",
"filename" : "repeatList.png"
"filename" : "no-repeat.png",
"scale" : "1x"
},
{
"idiom" : "universal",
"scale" : "2x",
"filename" : "repeatList@2x.png"
"filename" : "no-repeat@2x.png",
"scale" : "2x"
},
{
"idiom" : "universal",
"scale" : "3x",
"filename" : "repeatList@3x.png"
"filename" : "no-repeat@3x.png",
"scale" : "3x"
}
],
"info" : {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment