wjc
2023-07-26 9508510f0b27da3278fa1161eb2ba3dd1e3e2030
HDL-ON_Android/Scan.cs
@@ -36,15 +36,6 @@
        public void OpenScan(Action<string> action)
        {
            resultAction = action;
            //string cancel = "取消";
            //string flashText = "";
            //string titleText = "二维码扫描";
            //if (Language.CurrentLanguage != "Chinese")
            //{
            //    cancel = "Cancel";
            //    flashText = "";
            //    titleText = "Scan";
            //}
            ((BaseActivity)Shared.Application.Activity).SetCamera(async (obj) =>
            {
@@ -122,6 +113,8 @@
        public static byte[] BytesFromText(string text, int width = 300, int height = 300)
        {
            if (text == "") return null;
            var barcodeWriter = new ZXing.Mobile.BarcodeWriter
            {
                Format = ZXing.BarcodeFormat.QR_CODE,