|
|
@@ -1,6 +1,6 @@
|
|
|
//
|
|
|
// HaveNewVersionView.m
|
|
|
-// VclustersGemini
|
|
|
+// //
|
|
|
//
|
|
|
// Created by APPLE on 2020/2/24.
|
|
|
// Copyright © 2020 APPLE. All rights reserved.
|
|
|
@@ -181,7 +181,7 @@ static HaveNewVersionView * _instance;
|
|
|
gl.frame = CGRectMake(0,0,160.f,40.f);
|
|
|
gl.startPoint = CGPointMake(0, 0.5);
|
|
|
gl.endPoint = CGPointMake(1, 0.5);
|
|
|
- gl.colors = @[(__bridge id)HW0CDEFDColor.CGColor, (__bridge id)HW058DFBColor.CGColor];
|
|
|
+ gl.colors = @[(__bridge id)HWFFE10FColor.CGColor, (__bridge id)HWFFE411Color.CGColor];
|
|
|
gl.locations = @[@(0), @(1.0f)];
|
|
|
|
|
|
if(_versionModel.necessary){
|
|
|
@@ -191,7 +191,7 @@ static HaveNewVersionView * _instance;
|
|
|
[updatekBtn.layer addSublayer:gl];
|
|
|
[updatekBtn addTarget:self action:@selector(updateBtnPressed) forControlEvents:(UIControlEventTouchUpInside)];
|
|
|
[updatekBtn setTitle:NSLocalizedString(@"app_update_update",nil) forState:(UIControlStateNormal)];
|
|
|
- [updatekBtn setTitleColor:[UIColor whiteColor] forState:(UIControlStateNormal)];
|
|
|
+ [updatekBtn setTitleColor:[UIColor blackColor] forState:(UIControlStateNormal)];
|
|
|
[updatekBtn.titleLabel setFont:[UIFont systemFontOfSize:16.f]];
|
|
|
[updatekBtn.layer setCornerRadius:8.f];
|
|
|
updatekBtn.clipsToBounds = YES;
|
|
|
@@ -226,7 +226,7 @@ static HaveNewVersionView * _instance;
|
|
|
[updatekBtn.layer addSublayer:gl];
|
|
|
[updatekBtn addTarget:self action:@selector(updateBtnPressed) forControlEvents:(UIControlEventTouchUpInside)];
|
|
|
[updatekBtn setTitle:NSLocalizedString(@"app_update_update",nil) forState:(UIControlStateNormal)];
|
|
|
- [updatekBtn setTitleColor:[UIColor whiteColor] forState:(UIControlStateNormal)];
|
|
|
+ [updatekBtn setTitleColor:[UIColor blackColor] forState:(UIControlStateNormal)];
|
|
|
[updatekBtn.titleLabel setFont:[UIFont systemFontOfSize:16.f]];
|
|
|
[updatekBtn.layer setCornerRadius:8.f];
|
|
|
updatekBtn.clipsToBounds = YES;
|