mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-06-16 05:55:20 +00:00
Fix proxy shield animation
This commit is contained in:
parent
7a2325ffd7
commit
0514af167b
@ -35,7 +35,7 @@ static bool readCGFloat(NSString *string, int *position, CGFloat *result) {
|
||||
int length = (int)string.length;
|
||||
while (*position < length) {
|
||||
unichar c = [string characterAtIndex:*position];
|
||||
*position++;
|
||||
(*position)++;
|
||||
|
||||
if (c == '.') {
|
||||
if (seenDot) {
|
||||
@ -316,7 +316,7 @@ static bool ProxyWindowIsLight = true;
|
||||
dismissBlock();
|
||||
}];
|
||||
|
||||
if (_icon == nil) {
|
||||
if (_isShield) {
|
||||
dispatchAfter(0.15, dispatch_get_main_queue(), ^{
|
||||
[_spinner setSucceed];
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user