From c0a44852a21e684277bc87d65e7eeff6d0a9a0c1 Mon Sep 17 00:00:00 2001 From: Donghyun Kim Date: Sat, 14 Sep 2024 02:06:11 +0900 Subject: [PATCH] Rename a type alias --- flutter_package/bin/src/message.dart | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/flutter_package/bin/src/message.dart b/flutter_package/bin/src/message.dart index edbbb6eb..bcec3ea6 100644 --- a/flutter_package/bin/src/message.dart +++ b/flutter_package/bin/src/message.dart @@ -311,11 +311,11 @@ use std::sync::LazyLock; await insertTextToFile( rustPath, ''' -type ${messageName}Cell = LazyLock<( +type ${messageName}Store = LazyLock<( SignalSender>, SignalReceiver>, )>; -pub static ${snakeName.toUpperCase()}_CHANNEL: ${messageName}Cell = +pub static ${snakeName.toUpperCase()}_CHANNEL: ${messageName}Store = LazyLock::new(signal_channel); impl ${normalizePascal(messageName)} {