mirror of
https://github.com/lacerta-doc/Lacerta.git
synced 2026-11-07 19:47:36 +00:00
iroiro
This commit is contained in:
1 file changed
+9
-9
+9
-9
@@ -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
|
||||
|
||||
|
||||
Reference in new issue
Block a user