update ui
This commit is contained in:
1 parent
aafe0c8533
commit
d499edabbc
5 files changed
+388
-243
No files matched your search
@@ -74,8 +74,8 @@ const LEGACY_GUI_CONFIG_FILE: &str = "cpa-gui.yaml";
|
||||
const MIN_MAIN_WINDOW_WIDTH: u32 = 640;
|
||||
const MIN_MAIN_WINDOW_HEIGHT: u32 = 600;
|
||||
const MAX_SAVED_WINDOW_DIMENSION: u32 = 16_384;
|
||||
const DEFAULT_MAIN_WINDOW_WIDTH: u32 = 1551;
|
||||
const DEFAULT_MAIN_WINDOW_HEIGHT: u32 = 893;
|
||||
const DEFAULT_MAIN_WINDOW_WIDTH: u32 = 1531;
|
||||
const DEFAULT_MAIN_WINDOW_HEIGHT: u32 = 891;
|
||||
const OAUTH_DIR_NAME: &str = "oauth";
|
||||
const DEFAULT_AUTH_DIR: &str = "../oauth";
|
||||
const DEFAULT_API_KEY: &str = "123456";
|
||||
@@ -13935,8 +13935,8 @@ mod tests {
|
||||
assert!(content.contains("port = 8317"));
|
||||
assert!(content.contains("allow-lan = false"));
|
||||
assert!(content.contains("run-on-startup = false"));
|
||||
assert!(content.contains("window-width = 1551"));
|
||||
assert!(content.contains("window-height = 893"));
|
||||
assert!(content.contains("window-width = 1531"));
|
||||
assert!(content.contains("window-height = 891"));
|
||||
assert!(content.contains("auth-dir = \"../oauth\""));
|
||||
assert!(content.contains("[[api-keys]]"));
|
||||
assert!(content.contains("key = \"123456\""));
|
||||
|
||||
Reference in new issue
Block a user