mirror of
https://github.com/Burrit0z/kai
synced 2025-06-30 21:16:48 +00:00
make not gay
This commit is contained in:
@ -74,7 +74,7 @@ long long lastPercentage;
|
|||||||
}
|
}
|
||||||
[label setTextColor:[UIColor whiteColor]];
|
[label setTextColor:[UIColor whiteColor]];
|
||||||
label.lineBreakMode = NSLineBreakByWordWrapping;
|
label.lineBreakMode = NSLineBreakByWordWrapping;
|
||||||
label.numberOfLines = 0;
|
label.numberOfLines = 1;
|
||||||
[label setText:labelText];
|
[label setText:labelText];
|
||||||
|
|
||||||
_UIBatteryView *battery = [[_UIBatteryView alloc] init];
|
_UIBatteryView *battery = [[_UIBatteryView alloc] init];
|
||||||
@ -89,7 +89,7 @@ long long lastPercentage;
|
|||||||
[percentLabel setTextColor:[UIColor whiteColor]];
|
[percentLabel setTextColor:[UIColor whiteColor]];
|
||||||
percentLabel.lineBreakMode = NSLineBreakByWordWrapping;
|
percentLabel.lineBreakMode = NSLineBreakByWordWrapping;
|
||||||
[percentLabel setTextAlignment:NSTextAlignmentRight];
|
[percentLabel setTextAlignment:NSTextAlignmentRight];
|
||||||
percentLabel.numberOfLines = 0;
|
percentLabel.numberOfLines = 1;
|
||||||
[percentLabel setText:[NSString stringWithFormat:@"%ld%%", (long)((NSInteger) batteryPercentage)]];
|
[percentLabel setText:[NSString stringWithFormat:@"%ld%%", (long)((NSInteger) batteryPercentage)]];
|
||||||
if(charging) battery.chargingState = 1;
|
if(charging) battery.chargingState = 1;
|
||||||
battery.showsInlineChargingIndicator = YES;
|
battery.showsInlineChargingIndicator = YES;
|
||||||
|
Reference in New Issue
Block a user