private GeckoPreferences(bool defaultBranch) { IsDefaultBranch = defaultBranch; if (defaultBranch) { Branch = PrefService.GetDefaultBranch(""); } else { Branch = PrefService.GetBranch(""); } }
private GeckoPreferences(bool defaultBranch) { IsDefaultBranch = defaultBranch; Branch = defaultBranch ? PrefService.GetDefaultBranch("") : PrefService.GetBranch(""); }