mirror of
https://github.com/confirmedcode/Lockdown-iOS.git
synced 2025-12-25 12:13:52 +01:00
25 lines
580 B
Swift
25 lines
580 B
Swift
//
|
|
// SelectRegionViewModel.swift
|
|
// Lockdown
|
|
//
|
|
// Created by Pavel Vilbik on 28.06.23.
|
|
// Copyright © 2023 Confirmed Inc. All rights reserved.
|
|
//
|
|
|
|
import Foundation
|
|
|
|
class SelectRegionViewModel: BaseSelectCountryViewModel, SelectCountryViewModelProtocol {
|
|
var title: String {
|
|
NSLocalizedString("Select Region", comment: "")
|
|
}
|
|
|
|
override func generateCountryList() -> [Country] {
|
|
vpnRegions.map {
|
|
Country(
|
|
title: $0.regionDisplayName,
|
|
emojiSymbol: $0.regionFlagEmoji
|
|
)
|
|
}
|
|
}
|
|
}
|