Utilize default settings values
This commit is contained in:
parent
f9c19b3ca4
commit
c2cd6481fd
6 changed files with 13 additions and 15 deletions
|
|
@ -1,21 +0,0 @@
|
|||
//
|
||||
// SearchBarScope.swift
|
||||
// pass
|
||||
//
|
||||
// Created by Danny Moesch on 05.03.19.
|
||||
// Copyright © 2019 Bob Sun. All rights reserved.
|
||||
//
|
||||
|
||||
enum SearchBarScope: Int, CaseIterable {
|
||||
case current
|
||||
case all
|
||||
|
||||
var localizedName: String {
|
||||
switch self {
|
||||
case .current:
|
||||
return "Current".localize()
|
||||
case .all:
|
||||
return "All".localize()
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue