Skip to content

Commit 9889e6f

Browse files
author
LocalIdentity
committed
Hide latest/trending builds config
1 parent 24da972 commit 9889e6f

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

src/Modules/Main.lua

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ function main:Init()
103103
self.notSupportedModTooltips = true
104104
self.notSupportedTooltipText = " ^8(Not supported in PoB yet)"
105105
self.POESESSID = ""
106-
self.showPublicBuilds = true
106+
--self.showPublicBuilds = true
107107
self.showFlavourText = true
108108

109109
if self.userPath then
@@ -622,9 +622,9 @@ function main:LoadSettings(ignoreBuild)
622622
if node.attrib.disableDevAutoSave then
623623
self.disableDevAutoSave = node.attrib.disableDevAutoSave == "true"
624624
end
625-
if node.attrib.showPublicBuilds then
626-
self.showPublicBuilds = node.attrib.showPublicBuilds == "true"
627-
end
625+
--if node.attrib.showPublicBuilds then
626+
--self.showPublicBuilds = node.attrib.showPublicBuilds == "true"
627+
--end
628628
if node.attrib.showFlavourText then
629629
self.showFlavourText = node.attrib.showFlavourText == "true"
630630
end
@@ -739,7 +739,7 @@ function main:SaveSettings()
739739
POESESSID = self.POESESSID,
740740
invertSliderScrollDirection = tostring(self.invertSliderScrollDirection),
741741
disableDevAutoSave = tostring(self.disableDevAutoSave),
742-
showPublicBuilds = tostring(self.showPublicBuilds),
742+
--showPublicBuilds = tostring(self.showPublicBuilds),
743743
showFlavourText = tostring(self.showFlavourText)
744744
} })
745745
local res, errMsg = common.xml.SaveXMLFile(setXML, self.userPath.."Settings.xml")
@@ -915,10 +915,10 @@ function main:OpenOptionsPopup()
915915
self.edgeSearchHighlight = state
916916
end)
917917

918-
nextRow()
919-
controls.showPublicBuilds = new("CheckBoxControl", { "TOPLEFT", nil, "TOPLEFT" }, { defaultLabelPlacementX, currentY, 20 }, "^7Show Latest/Trending builds:", function(state)
920-
self.showPublicBuilds = state
921-
end)
918+
--nextRow()
919+
--controls.showPublicBuilds = new("CheckBoxControl", { "TOPLEFT", nil, "TOPLEFT" }, { defaultLabelPlacementX, currentY, 20 }, "^7Show Latest/Trending builds:", function(state)
920+
--self.showPublicBuilds = state
921+
--end)
922922

923923
nextRow()
924924
controls.showFlavourText = new("CheckBoxControl", { "TOPLEFT", nil, "TOPLEFT" }, { defaultLabelPlacementX, currentY, 20 }, "^7Styled Tooltips with Flavour Text:", function(state)
@@ -1012,7 +1012,7 @@ function main:OpenOptionsPopup()
10121012
controls.betaTest.state = self.betaTest
10131013
controls.edgeSearchHighlight.state = self.edgeSearchHighlight
10141014
controls.titlebarName.state = self.showTitlebarName
1015-
controls.showPublicBuilds.state = self.showPublicBuilds
1015+
--controls.showPublicBuilds.state = self.showPublicBuilds
10161016
controls.showFlavourText.state = self.showFlavourText
10171017
local initialNodePowerTheme = self.nodePowerTheme
10181018
local initialColorPositive = self.colorPositive
@@ -1032,7 +1032,7 @@ function main:OpenOptionsPopup()
10321032
local initialNotSupportedModTooltips = self.notSupportedModTooltips
10331033
local initialInvertSliderScrollDirection = self.invertSliderScrollDirection
10341034
local initialDisableDevAutoSave = self.disableDevAutoSave
1035-
local initialShowPublicBuilds = self.showPublicBuilds
1035+
--local initialShowPublicBuilds = self.showPublicBuilds
10361036
local initialShowFlavourText = self.showFlavourText
10371037

10381038
-- last line with buttons has more spacing

0 commit comments

Comments
 (0)