tmp commit
Signed-off-by: dignow <linlong1265@gmail.com>
This commit is contained in:
parent
96d95fa08a
commit
1b38986a82
@ -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(
|
||||
|
@ -57,7 +57,6 @@ class AbModel {
|
||||
return "";
|
||||
}
|
||||
} catch (err) {
|
||||
debugPrint('REMOVE ME ====================== err $err');
|
||||
err.printError();
|
||||
abError.value = err.toString();
|
||||
} finally {
|
||||
|
@ -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();
|
||||
}
|
||||
|
@ -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"
|
||||
|
Loading…
x
Reference in New Issue
Block a user