-
-
Notifications
You must be signed in to change notification settings - Fork 331
Home
lollipopkit edited this page Aug 30, 2023
·
18 revisions
English | 简体中文
There are a series of hidden features here, I hope you like it.
In some views, long press can open more functions, for example:
- Long press the server card on the home page to enter edit mode.
- Long press the setting item in the drawer on the home page to enter JSON edit mode.
- In the SSH terminal, long press and slide to select characters.
First of all, hiding some settings is to keep the setting interface simple, and also to take into account the needs of a few people (highly customizable). Secondly, wrong settings may cause the App to fail to open, please make a backup.
- Q: How to find it?
- A: Just long press the setting item in the drawer on the home page to open it.
- Q: Where to find the customizable settings?
- A: You can find all of them in /lib/data/store/setting.dart, please note the type of each setting item.
Example: Turn on the old UI of server Tab page
- First find the place where the setting is defined in /lib/data/store/setting.dart.
It can be found that the name of the setting item is
/// Discussion #146 late final serverTabUseOldUI = StoreProperty( box, 'serverTabUseOldUI', false, );
serverTabUseOldUI
, the type isbool
, and the default value isfalse
. - Add the following key-value pair to the JSON editor of the setting item and save it.
"serverTabUseOldUI": true
- Return to the server Tab page, wait a few seconds, and you will see the effect.
You can find the option to edit the virtual keys in the settings page.
- In it, you can turn on and off, and sort.
- Some icons that may be unclear are also explained in it.