mirror of
https://github.com/weyne85/rustdesk.git
synced 2025-10-29 17:00:05 +00:00
avoid currentUser call more than once when initializing app
This commit is contained in:
@@ -253,7 +253,8 @@ class _ConnectionPageState extends State<ConnectionPage>
|
||||
width: 8,
|
||||
decoration: BoxDecoration(
|
||||
borderRadius: BorderRadius.circular(4),
|
||||
color: svcStopped.value || stateGlobal.svcStatus.value == SvcStatus.connecting
|
||||
color: svcStopped.value ||
|
||||
stateGlobal.svcStatus.value == SvcStatus.connecting
|
||||
? kColorWarn
|
||||
: (stateGlobal.svcStatus.value == SvcStatus.ready
|
||||
? Color.fromARGB(255, 50, 190, 166)
|
||||
|
||||
Reference in New Issue
Block a user