Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion Loader/Views/Settings/LRSettingsViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,12 @@ import NimbleViewControllers
// MARK: - Class
class LRSettingsViewController: LRBaseStructuredTableViewController {
override func setupSections() {
#if os(tvOS)
let restartLabel = "Restart PineBoard"
#else
let restartLabel = "Restart SpringBoard"
#endif

sections = [
(
title: "",
Expand All @@ -22,7 +28,7 @@ class LRSettingsViewController: LRBaseStructuredTableViewController {
}
),
SectionItem(
title: "Restart Springboard",
title: restartLabel,
action: {
self.blackOutController {
LREnvironment.shared.respring()
Expand Down