mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-04-01 23:01:28 +03:00
Fix/custom client styles (#7373)
* Fix. qs styles Signed-off-by: fufesou <shuanglongchen@yeah.net> * custom client, options Signed-off-by: fufesou <shuanglongchen@yeah.net> * Move logo.svg to icon.svg Signed-off-by: fufesou <shuanglongchen@yeah.net> * Refact. Custom client, connection status ui. Signed-off-by: fufesou <shuanglongchen@yeah.net> * Custom client ui. Disable settings, hide "Change password" Signed-off-by: fufesou <shuanglongchen@yeah.net> * Custom client, logo align center Signed-off-by: fufesou <shuanglongchen@yeah.net> * Custom client, refact, outgoing ui Signed-off-by: fufesou <shuanglongchen@yeah.net> * Custom client, outgoing, settings icon Signed-off-by: fufesou <shuanglongchen@yeah.net> * Custom client, powered by RustDesk Signed-off-by: fufesou <shuanglongchen@yeah.net> * Custom client, remove unused SizeBox Signed-off-by: fufesou <shuanglongchen@yeah.net> * Update config.rs * Update flutter_ffi.rs --------- Signed-off-by: fufesou <shuanglongchen@yeah.net> Co-authored-by: RustDesk <71636191+rustdesk@users.noreply.github.com>
This commit is contained in:
@@ -165,7 +165,8 @@ class DesktopTabController {
|
||||
}));
|
||||
}
|
||||
});
|
||||
if ((isDesktop && bind.isIncomingOnly()) || callOnSelected) {
|
||||
if ((isDesktop && (bind.isIncomingOnly() || bind.isOutgoingOnly())) ||
|
||||
callOnSelected) {
|
||||
if (state.value.tabs.length > index) {
|
||||
final key = state.value.tabs[index].key;
|
||||
onSelected?.call(key);
|
||||
@@ -399,7 +400,7 @@ class DesktopTab extends StatelessWidget {
|
||||
child: Row(children: [
|
||||
Offstage(
|
||||
offstage: !showLogo,
|
||||
child: loadLogo(16),
|
||||
child: loadIcon(16),
|
||||
),
|
||||
Offstage(
|
||||
offstage: !showTitle,
|
||||
|
||||
Reference in New Issue
Block a user