From b0a06825611ed68dc25f07b292cb3728ea0562f1 Mon Sep 17 00:00:00 2001 From: r-ca Date: Mon, 29 Jan 2024 04:13:59 +0900 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../lacerta/component/scanner/ScannerManagerActivity.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/component/scanner/src/main/java/one/nem/lacerta/component/scanner/ScannerManagerActivity.java b/component/scanner/src/main/java/one/nem/lacerta/component/scanner/ScannerManagerActivity.java index de0eb081..b48fb62d 100644 --- a/component/scanner/src/main/java/one/nem/lacerta/component/scanner/ScannerManagerActivity.java +++ b/component/scanner/src/main/java/one/nem/lacerta/component/scanner/ScannerManagerActivity.java @@ -58,7 +58,7 @@ public class ScannerManagerActivity extends AppCompatActivity { private ArrayList croppedImages = new ArrayList<>(); private int maxPage = 0; - private boolean singlePage = false; + private boolean withOutLimit = false; View view; @@ -86,7 +86,7 @@ public class ScannerManagerActivity extends AppCompatActivity { }, null, null, - singlePage ? 1 : maxPage + withOutLimit ? null : maxPage ); @Override @@ -121,7 +121,7 @@ public class ScannerManagerActivity extends AppCompatActivity { Bundle bundle = intent.getExtras(); if (bundle != null) { this.maxPage = bundle.getInt("maxPage", 0); - this.singlePage = bundle.getBoolean("singlePage", false); + this.withOutLimit = bundle.getBoolean("withOutLimit", false); } }