Remove 'Check for Updates' entry in Settings
This commit is contained in:
@@ -114,15 +114,6 @@ func (p *Settings) Init(ctx *PageCtx) error {
|
|||||||
label: wifiLabel,
|
label: wifiLabel,
|
||||||
})
|
})
|
||||||
|
|
||||||
updateLabel, err := NewStringItem("Check for Updates", font, colors.White)
|
|
||||||
if err != nil {
|
|
||||||
return fmt.Errorf("creating update label: %w", err)
|
|
||||||
}
|
|
||||||
p.options = append(p.options, Option{
|
|
||||||
target: CHECK_UPDATES,
|
|
||||||
label: updateLabel,
|
|
||||||
})
|
|
||||||
|
|
||||||
logsLabel, err := NewStringItem("Logs", font, colors.White)
|
logsLabel, err := NewStringItem("Logs", font, colors.White)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return fmt.Errorf("creating logs label: %w", err)
|
return fmt.Errorf("creating logs label: %w", err)
|
||||||
|
|||||||
Reference in New Issue
Block a user