Verified Commit bf7e8169 authored by Eyad Hasan's avatar Eyad Hasan
Browse files

Changed the alert to an emergency alert. Should display when the user doesn't...

Changed the alert to an emergency alert.  Should display when the user doesn't have an internet connection
parent 59176bf1
......@@ -247,8 +247,6 @@ class Alert: Object, MapContext, Mappable {
convenience required init?(map: Map) {
self.init()
self.urgency = "no network"
self.message = "No Network Connection Found"
}
func mapping(map: Map){
......@@ -262,8 +260,8 @@ class Alert: Object, MapContext, Mappable {
}
func noNetwork(){
urgency = "network"
message = "No Network Connection"
urgency = "emergency"
message = "No Internet Connection"
}
}
......
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