Browse Source

Update KAIBatteryCell.mm

pull/3/head
Burrit0z 4 years ago
parent
commit
cee2aa6a0f
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      KAIBatteryCell.mm

+ 1
- 1
KAIBatteryCell.mm View File



UIImage *glyph = ios13 ? [device glyph] : [device batteryWidgetGlyph]; UIImage *glyph = ios13 ? [device glyph] : [device batteryWidgetGlyph];


glyph= [glyph imageWithRenderingMode:UIImageRenderingModeAlwaysTemplate];
glyph = [glyph imageWithRenderingMode:UIImageRenderingModeAlwaysTemplate];
self.glyphView = [[UIImageView alloc] init]; self.glyphView = [[UIImageView alloc] init];
self.glyphView.contentMode = UIViewContentModeScaleAspectFit; self.glyphView.contentMode = UIViewContentModeScaleAspectFit;
[self.glyphView setImage:glyph]; [self.glyphView setImage:glyph];

Loading…
Cancel
Save