Added login and setup screens

This commit is contained in:
Deniz Duezgoeren
2019-09-21 14:04:49 +02:00
parent 7acddfbfd9
commit c064164858
16 changed files with 442 additions and 23 deletions
+7
View File
@@ -400,4 +400,11 @@ class DataFetcher {
return nil
}
}
func getInfoAlert(for type: String) -> UIAlertController {
let alert = UIAlertController(title: NSLocalizedString("enter_\(type)_title", comment: ""), message: NSLocalizedString("enter_\(type)_help", comment: ""), preferredStyle: .alert)
alert.addAction(UIAlertAction(title: NSLocalizedString("dismiss", comment: ""), style: .default) { action in
})
return alert
}
}