mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-04-17 23:51: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:
@@ -57,10 +57,10 @@ class _DesktopTabPageState extends State<DesktopTabPage> {
|
||||
if (bind.isIncomingOnly()) {
|
||||
tabController.onSelected = (key) {
|
||||
if (key == kTabLabelHomePage) {
|
||||
windowManager.setSize(getDesktopQsHomeSize());
|
||||
windowManager.setSize(getIncomingOnlyHomeSize());
|
||||
windowManager.setResizable(false);
|
||||
} else {
|
||||
windowManager.setSize(getDesktopQsSettingsSize());
|
||||
windowManager.setSize(getIncomingOnlySettingsSize());
|
||||
windowManager.setResizable(true);
|
||||
}
|
||||
};
|
||||
@@ -81,7 +81,7 @@ class _DesktopTabPageState extends State<DesktopTabPage> {
|
||||
body: DesktopTab(
|
||||
controller: tabController,
|
||||
tail: Offstage(
|
||||
offstage: bind.isIncomingOnly(),
|
||||
offstage: bind.isIncomingOnly() || bind.isDisableSettings(),
|
||||
child: ActionIcon(
|
||||
message: 'Settings',
|
||||
icon: IconFont.menu,
|
||||
|
||||
Reference in New Issue
Block a user