Skip to content

Commit

Permalink
Remove commented code
Browse files Browse the repository at this point in the history
  • Loading branch information
yury committed Sep 7, 2023
1 parent aa04602 commit e89a8ee
Showing 1 changed file with 0 additions and 22 deletions.
22 changes: 0 additions & 22 deletions Blink/Commands/device_info.m
Original file line number Diff line number Diff line change
Expand Up @@ -58,28 +58,6 @@
return [result componentsJoinedByString:@"\n---------\n"];
}

//NSString *__locales(void) {
//
// NSMutableArray<NSString *> * result = [[NSMutableArray alloc] initWithCapacity:UIScreen.screens.count];
//
// UIScreen *main = UIScreen.mainScreen;
// for (UIScreen *screen in UIScreen.screens) {
// NSMutableString * str = [[NSMutableString alloc] init];
// [str appendFormat:@"Main: %@\n", main == screen ? @"YES": @"NO"];
// [str appendFormat:@"Captured: %@\n", screen.captured ? @"YES": @"NO"];
// [str appendFormat:@"Bounds: %@\n", NSStringFromCGRect(screen.bounds)];
// [str appendFormat:@"Native Scale: %@\n", @(screen.nativeScale)];
// [str appendFormat:@"Native Bounds: %@\n", NSStringFromCGRect(screen.nativeBounds)];
// [str appendFormat:@"Max FPS: %@\n", @(screen.maximumFramesPerSecond)];
// [str appendFormat:@"Current Mode: %@, %@", NSStringFromCGSize(screen.currentMode.size), @(screen.currentMode.pixelAspectRatio)];
//
// [result addObject:str];
// }
//
// return [result componentsJoinedByString:@"\n---------\n"];
//}


__attribute__ ((visibility("default")))
int device_info_main(int argc, char *argv[]) {
DeviceInfo * di = DeviceInfo.shared;
Expand Down

0 comments on commit e89a8ee

Please sign in to comment.