To receive notifications about scheduled maintenance, please subscribe to the mailing-list gitlab-operations@sympa.ethz.ch. You can subscribe to the mailing-list at https://sympa.ethz.ch

Commit 499c8063 authored by domenicw's avatar domenicw
Browse files

Added Settings Tab Icon

parent d95006ec
{
"images" : [
{
"idiom" : "universal",
"filename" : "Settings.png",
"scale" : "1x"
},
{
"idiom" : "universal",
"filename" : "Settings_2.png",
"scale" : "2x"
},
{
"idiom" : "universal",
"filename" : "Settings_3.png",
"scale" : "3x"
}
],
"info" : {
"version" : 1,
"author" : "xcode"
},
"properties" : {
"template-rendering-intent" : "template"
}
}
\ No newline at end of file
......@@ -26,6 +26,7 @@ public class AppNavigator: Navigator {
private enum Tab: Int {
case home
case apps
case settings
}
// MARK: - Initializers
......@@ -62,6 +63,7 @@ public class AppNavigator: Navigator {
private func createSettingsTab() {
let settings = SettingsNavigator()
settings.rootViewController.tabBarItem = UITabBarItem(title: "Settings", image: UIImage(named: "settings"), tag: Tab.settings.rawValue)
self.childNavigators.append(settings)
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment