Skip to content

Commit

Permalink
Improve juicity plugin titles
Browse files Browse the repository at this point in the history
  • Loading branch information
oluceps committed Mar 13, 2024
1 parent a380a48 commit 040ca8a
Showing 1 changed file with 16 additions and 9 deletions.
25 changes: 16 additions & 9 deletions js/plugin_juicity/juicity.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ class juicityClass {
this.defaultSharedStorage.serverAddress = "127.0.0.1";
this.defaultSharedStorage.serverPort = "1080";
// end of default keys
this.defaultSharedStorage.uuid = "00000000-0000-0000-0000-000000000000";
this.defaultSharedStorage.uuid = "";
this.defaultSharedStorage.password = "";
this.defaultSharedStorage.sni = "";
this.defaultSharedStorage.allowInsecure = false;
Expand Down Expand Up @@ -69,43 +69,50 @@ class juicityClass {
title: TR("serverSettings"),
preferences: [
{
type: "EditTextPreference",
key: "serverAddress",
icon: "ic_hardware_router",
"type": "EditTextPreference",
"key": "serverAddress",
"icon": "ic_hardware_router",
"title": "Server"
},
{
type: "EditTextPreference",
key: "serverPort",
icon: "ic_maps_directions_boat",
EditTextPreferenceModifiers: "Port",
"type": "EditTextPreference",
"key": "serverPort",
"icon": "ic_maps_directions_boat",
"EditTextPreferenceModifiers": "Port",
"title": "Remote Port"
},
//
{
"type": "EditTextPreference",
"key": "uuid",
"icon": "ic_baseline_person_24",
"title": "UUID"
},
{
"type": "EditTextPreference",
"key": "password",
"icon": "ic_settings_password",
"summaryProvider": "PasswordSummaryProvider",
"title": "Password"
},
//
{
"type": "EditTextPreference",
"key": "sni",
"icon": "ic_action_copyright"
"icon": "ic_action_copyright",
"title": "Server Name Indication"
},
{
"type": "SwitchPreference",
"key": "allowInsecure",
"icon": "ic_notification_enhanced_encryption",
"title": "Allow Insecure"
},
{
"type": "EditTextPreference",
"key": "congestionControl",
"icon": "ic_baseline_stream_24",
"title": "Congestion Control"
},
],
},
Expand Down

0 comments on commit 040ca8a

Please sign in to comment.