Commit 767c10c
committed
Simplify QR code generation logic
Refactored the QR code generation in `Program.cs` by using a static method `GenerateQrCode` on `QRCodeGenerator`, which eliminates the need for separate `QRCodeGenerator` and `QRCodeData` instances. This change reduces code complexity and improves performance by removing unnecessary object instantiation.1 parent 343900a commit 767c10c
1 file changed
Lines changed: 1 addition & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
137 | 137 | | |
138 | 138 | | |
139 | 139 | | |
140 | | - | |
141 | | - | |
| 140 | + | |
142 | 141 | | |
143 | 142 | | |
144 | 143 | | |
| |||
0 commit comments