File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed
CodeEdit/Features/Settings/Pages/SourceControlSettings/Models Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -57,7 +57,7 @@ extension SettingsData {
5757 var refreshStatusLocally : Bool = true
5858 /// Indicates whether the application should automatically fetch updates from the server and refresh the status.
5959 var fetchRefreshServerStatus : Bool = true
60- /// Indicates whether new files should be automatically added and removed files should be removed from version control .
60+ /// Indicates whether new and deleted files should be automatically staged for commit .
6161 var addRemoveAutomatically : Bool = true
6262 /// Indicates whether the application should automatically select files to commit.
6363 var selectFilesToCommit : Bool = true
@@ -76,7 +76,10 @@ extension SettingsData {
7676 /// Explicit decoder init for setting default values when key is not present in `JSON`
7777 init ( from decoder: Decoder ) throws {
7878 let container = try decoder. container ( keyedBy: CodingKeys . self)
79- self . sourceControlIsEnabled = try container. decodeIfPresent ( Bool . self, forKey: . sourceControlIsEnabled) ?? true
79+ self . sourceControlIsEnabled = try container. decodeIfPresent (
80+ Bool . self,
81+ forKey: . sourceControlIsEnabled
82+ ) ?? true
8083 self . refreshStatusLocally = try container. decodeIfPresent ( Bool . self, forKey: . refreshStatusLocally) ?? true
8184 self . fetchRefreshServerStatus = try container. decodeIfPresent (
8285 Bool . self,
You can’t perform that action at this time.
0 commit comments