Fix and update monero_c hash
Omar committed
Jun 3, 2026 at 18:29 UTC
281725fa5b3d340675bb3785664c70b6c3ddface
3 files changed
+32
-30
cw_monero/pubspec.lock
+4
-4
@@ -982,8 +982,8 @@ packages:
982
dependency: "direct main"
983
description:
984
path: trezor-flutter
985
- ref: becd18ac474d343d94b6191d89fad43270d2a02e
986
- resolved-ref: becd18ac474d343d94b6191d89fad43270d2a02e
985
+ ref: d1289dfa4247a93ee57342dfd249957b339915ef
986
+ resolved-ref: d1289dfa4247a93ee57342dfd249957b339915ef
987
url: "https://github.com/cake-tech/trezor-flutter.git"
988
source: git
989
version: "0.1.0"
@@ -991,8 +991,8 @@ packages:
991
dependency: transitive
992
description:
993
path: trezor_usb_transport
994
- ref: becd18ac474d343d94b6191d89fad43270d2a02e
995
- resolved-ref: becd18ac474d343d94b6191d89fad43270d2a02e
994
+ ref: d1289dfa4247a93ee57342dfd249957b339915ef
995
+ resolved-ref: d1289dfa4247a93ee57342dfd249957b339915ef
996
url: "https://github.com/cake-tech/trezor-flutter.git"
997
source: git
998
version: "0.0.1"
lib/new-ui/pages/scan_page.dart
+27
-25
@@ -42,9 +42,13 @@ class _ScanPageState extends State<ScanPage> {
42
@override
43
void initState() {
44
super.initState();
45
- controller.addListener(() => if (mounted) setState(() {
45
+ controller.addListener(() {
46
+ if (mounted) {
47
+ setState(() {
48
_numCameras = controller.value.availableCameras;
47
- }));
49
+ });
50
+ }
51
+ });
52
}
53
54
@override
@@ -312,7 +316,7 @@ class _ScanPageState extends State<ScanPage> {
316
if (widget.showHelp)
317
ScanPageButton(
318
onTap: () async {
315
- if(_textInputMode) return;
319
+ if (_textInputMode) return;
320
try {
321
controller.stop();
322
await showModalBottomSheet(
@@ -321,11 +325,9 @@ class _ScanPageState extends State<ScanPage> {
325
useSafeArea: true,
326
backgroundColor: Theme.of(context).colorScheme.surface,
327
builder: (context) => ScanPageNetworkList());
324
-
328
} finally {
329
controller.start();
330
}
328
-
331
},
332
icon: Icons.question_mark,
333
buttonColor: buttonColor,
@@ -358,26 +360,26 @@ class _ScanPageState extends State<ScanPage> {
360
duration: Duration(milliseconds: 500),
361
opacity: isScanningURQR ? 1 : 0,
362
child: Row(
361
- mainAxisAlignment: MainAxisAlignment.center,
362
- children: [
363
- Text(
364
- "${decoder.processedPartsCount()}",
365
- style: TextStyle(
366
- fontSize: 45,
367
- fontWeight: FontWeight.w500,
368
- color: Theme.of(context).colorScheme.primary),
369
- ),
370
- Text(
371
- "/",
372
- style: TextStyle(
373
- fontSize: 45, color: Theme.of(context).colorScheme.onSurfaceVariant),
374
- ),
375
- Text(
376
- "${decoder.expectedPartCount()}",
377
- style: TextStyle(fontSize: 45, color: Theme.of(context).colorScheme.onSurface),
378
- ),
379
- ],
380
- ),
363
+ mainAxisAlignment: MainAxisAlignment.center,
364
+ children: [
365
+ Text(
366
+ "${decoder.processedPartsCount()}",
367
+ style: TextStyle(
368
+ fontSize: 45,
369
+ fontWeight: FontWeight.w500,
370
+ color: Theme.of(context).colorScheme.primary),
371
+ ),
372
+ Text(
373
+ "/",
374
+ style: TextStyle(
375
+ fontSize: 45, color: Theme.of(context).colorScheme.onSurfaceVariant),
376
+ ),
377
+ Text(
378
+ "${decoder.expectedPartCount()}",
379
+ style: TextStyle(fontSize: 45, color: Theme.of(context).colorScheme.onSurface),
380
+ ),
381
+ ],
382
+ ),
383
),
384
)
385
],
scripts/prepare_moneroc.sh
+1
-1
@@ -16,7 +16,7 @@ fi
16
# NOTE: Make sure to update monero_c prebuilds link in workflow files
17
# https://github.com/MrCyjaneK/monero_c/releases/download/v0.18.4.6-RC2/release-bundle.zip
18
git fetch -a
19
-git checkout 3bfb3856a838f2bf6b729501837bb0295dedf25d
19
+git checkout 0b324fe33ff5709feb69e2892767c1be9349957d
20
git reset --hard
21
git submodule update --init --force --recursive
22