mirror of
https://github.com/lacerta-doc/Lacerta.git
synced 2024-11-22 16:03:15 +00:00
iroiro
This commit is contained in:
parent
57d1c7809c
commit
1fb37a0317
|
@ -157,15 +157,15 @@ public class ScannerManagerActivity extends AppCompatActivity {
|
|||
setSupportActionBar(toolbar);
|
||||
Objects.requireNonNull(getSupportActionBar()).setDisplayHomeAsUpEnabled(true);
|
||||
|
||||
// Intent intent = getIntent();
|
||||
// Bundle bundle = intent.getExtras();
|
||||
// if (bundle != null) {
|
||||
// this.single = bundle.getBoolean("single", false);
|
||||
// }
|
||||
//
|
||||
// if (this.single) {
|
||||
// documentScanner = documentScannerSingle;
|
||||
// }
|
||||
Intent intent = getIntent();
|
||||
Bundle bundle = intent.getExtras();
|
||||
if (bundle != null) {
|
||||
this.single = bundle.getBoolean("single", false);
|
||||
}
|
||||
|
||||
if (this.single) {
|
||||
documentScanner = documentScannerSingle;
|
||||
}
|
||||
documentScanner.startScan();
|
||||
// Init
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user