macos: remove unneeded initializers
These will be automatically synthesized (they only do memberwise initialization) and do not need to be manually defined.pull/12875/head
parent
2c62d182ce
commit
33adb58bee
|
|
@ -44,16 +44,6 @@ extension QuickTerminalRestorableState {
|
|||
let focusedSurface: String?
|
||||
let surfaceTree: SplitTree<ViewType>
|
||||
let screenStateEntries: QuickTerminalScreenStateCache.Entries
|
||||
|
||||
init(
|
||||
focusedSurface: String?,
|
||||
surfaceTree: SplitTree<ViewType>,
|
||||
screenStateEntries: QuickTerminalScreenStateCache.Entries,
|
||||
) {
|
||||
self.focusedSurface = focusedSurface
|
||||
self.surfaceTree = surfaceTree
|
||||
self.screenStateEntries = screenStateEntries
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -15,20 +15,6 @@ extension TerminalRestorableState {
|
|||
let effectiveFullscreenMode: FullscreenMode?
|
||||
let tabColor: TerminalTabColor?
|
||||
let titleOverride: String?
|
||||
|
||||
init(
|
||||
focusedSurface: String?,
|
||||
surfaceTree: SplitTree<ViewType>,
|
||||
effectiveFullscreenMode: FullscreenMode?,
|
||||
tabColor: TerminalTabColor?,
|
||||
titleOverride: String?,
|
||||
) {
|
||||
self.focusedSurface = focusedSurface
|
||||
self.surfaceTree = surfaceTree
|
||||
self.effectiveFullscreenMode = effectiveFullscreenMode
|
||||
self.tabColor = tabColor
|
||||
self.titleOverride = titleOverride
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue