tmp commit

Signed-off-by: dignow <linlong1265@gmail.com>
This commit is contained in:
dignow 2023-06-23 00:11:57 +08:00
parent 96d95fa08a
commit 1b38986a82
4 changed files with 2 additions and 8 deletions

View File

@ -30,7 +30,6 @@ class _AddressBookState extends State<AddressBook> {
@override
Widget build(BuildContext context) => Obx(() {
debugPrint('REMOVE ME =========================== AddressBook ${gFFI.userModel.userName.value} ${gFFI.abModel.abLoading} ${gFFI.abModel.abError} ${gFFI.abModel.fromServer} ${isDesktop}');
if (gFFI.userModel.userName.value.isEmpty) {
return Center(
child: ElevatedButton(

View File

@ -57,7 +57,6 @@ class AbModel {
return "";
}
} catch (err) {
debugPrint('REMOVE ME ====================== err $err');
err.printError();
abError.value = err.toString();
} finally {

View File

@ -125,10 +125,6 @@ class StateGlobal {
gFFI.userModel.isAdmin.value = false;
gFFI.groupModel.reset();
}
debugPrint('REMOVE ME ========================== $preStatus -> ${stateGlobal.svcStatus.value}');
if (preStatus != stateGlobal.svcStatus.value) {
UserModel.updateOtherModels();
}
stateGlobal.svcIsUsingPublicServer.value =
await bind.mainIsUsingPublicServer();
}

View File

@ -929,14 +929,14 @@ async fn check_connect_status_(reconnect: bool, rx: mpsc::UnboundedReceiver<ipc:
*TEMPORARY_PASSWD.lock().unwrap() = value;
}
}
Ok(Some(ipc::Data::OnlineStatus(Some((mut x, c))))) => {
Ok(Some(ipc::Data::OnlineStatus(Some((mut x, _c))))) => {
if x > 0 {
x = 1
}
*UI_STATUS.lock().unwrap() = UiStatus {
status_num: x as _,
#[cfg(not(feature = "flutter"))]
key_confirmed: c,
key_confirmed: _c,
#[cfg(all(
not(any(target_os = "android", target_os = "ios")),
feature = "flutter"