mirror of
https://github.com/simplezhli/flutter_barcode_reader.git
synced 2024-12-23 12:19:19 +08:00
文字修改
This commit is contained in:
parent
99718f6af2
commit
0921367fc0
@ -91,11 +91,11 @@
|
||||
return;
|
||||
}
|
||||
if (self.isFlashOn) {
|
||||
self.navigationItem.rightBarButtonItem = [[UIBarButtonItem alloc] initWithTitle:@"Flash Off"
|
||||
self.navigationItem.rightBarButtonItem = [[UIBarButtonItem alloc] initWithTitle:@"关闭闪光灯"
|
||||
style:UIBarButtonItemStylePlain
|
||||
target:self action:@selector(toggle)];
|
||||
} else {
|
||||
self.navigationItem.rightBarButtonItem = [[UIBarButtonItem alloc] initWithTitle:@"Flash On"
|
||||
self.navigationItem.rightBarButtonItem = [[UIBarButtonItem alloc] initWithTitle:@"开启闪光灯"
|
||||
style:UIBarButtonItemStylePlain
|
||||
target:self action:@selector(toggle)];
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user