Skip to content

Commit

Permalink
ref #3 remove resultText subview
Browse files Browse the repository at this point in the history
  • Loading branch information
jtara committed Aug 22, 2021
1 parent d72793d commit 91d6f86
Showing 1 changed file with 11 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -783,7 +783,11 @@ - (id)initWithRect:(CGRect)rect{
[self.view addSubview:readerView];
#endif

[self.view addSubview:resultText];
// TODO: check SDK property
if (false) {
[self.view addSubview:resultText];
}

[self.view addSubview:toolbar];

//[readerView start];
Expand Down Expand Up @@ -1369,7 +1373,12 @@ - (void)dealloc {
[readerView removeFromSuperview];
#endif
[toolbar removeFromSuperview];
[resultText removeFromSuperview];

// TODO: check SDK property
if (false) {
[resultText removeFromSuperview];
}

#ifdef ZBAR
[readerView release];
readerView = nil;
Expand Down

0 comments on commit 91d6f86

Please sign in to comment.