|
@@ -758,9 +758,9 @@ class ViewController: UITabBarController, UITabBarControllerDelegate, SettingMAB
|
|
if let viewTerm = termVC!.view {
|
|
if let viewTerm = termVC!.view {
|
|
let webView = WKWebView()
|
|
let webView = WKWebView()
|
|
let lang = UserDefaults.standard.string(forKey: "i18n_language")
|
|
let lang = UserDefaults.standard.string(forKey: "i18n_language")
|
|
- var urlTerm = "https://newuniverse.io/newuniverse-tos"
|
|
|
|
|
|
+ var urlTerm = "https://nexilis.io/newuniverse-tos"
|
|
if lang == "id" {
|
|
if lang == "id" {
|
|
- urlTerm = "https://newuniverse.io/newuniverse-tos-id"
|
|
|
|
|
|
+ urlTerm = "https://nexilis.io/newuniverse-tos-id"
|
|
}
|
|
}
|
|
let url = URL (string: urlTerm)
|
|
let url = URL (string: urlTerm)
|
|
let requestObj = URLRequest(url: url!)
|
|
let requestObj = URLRequest(url: url!)
|
|
@@ -1087,7 +1087,7 @@ class ViewController: UITabBarController, UITabBarControllerDelegate, SettingMAB
|
|
if count == 0 {
|
|
if count == 0 {
|
|
if !icon.isEmpty {
|
|
if !icon.isEmpty {
|
|
DispatchQueue.global().async {
|
|
DispatchQueue.global().async {
|
|
- ViewController.getDataImageFromUrl(from: URL(string: "https://newuniverse.io/get_file?account=\(Nexilis.sAPIKey)&image=\(icon)")!) { data, response, error in
|
|
|
|
|
|
+ ViewController.getDataImageFromUrl(from: URL(string: "https://nexilis.io/get_file?account=\(Nexilis.sAPIKey)&image=\(icon)")!) { data, response, error in
|
|
guard let data = data, error == nil else { return }
|
|
guard let data = data, error == nil else { return }
|
|
// always update the UI from the main thread
|
|
// always update the UI from the main thread
|
|
DispatchQueue.main.async() {
|
|
DispatchQueue.main.async() {
|
|
@@ -1101,7 +1101,7 @@ class ViewController: UITabBarController, UITabBarControllerDelegate, SettingMAB
|
|
} else if count == 1 {
|
|
} else if count == 1 {
|
|
if !icon.isEmpty {
|
|
if !icon.isEmpty {
|
|
DispatchQueue.global().async {
|
|
DispatchQueue.global().async {
|
|
- ViewController.getDataImageFromUrl(from: URL(string: "https://newuniverse.io/get_file?account=\(Nexilis.sAPIKey)&image=\(icon)")!) { data, response, error in
|
|
|
|
|
|
+ ViewController.getDataImageFromUrl(from: URL(string: "https://nexilis.io/get_file?account=\(Nexilis.sAPIKey)&image=\(icon)")!) { data, response, error in
|
|
guard let data = data, error == nil else { return }
|
|
guard let data = data, error == nil else { return }
|
|
// always update the UI from the main thread
|
|
// always update the UI from the main thread
|
|
DispatchQueue.main.async() {
|
|
DispatchQueue.main.async() {
|
|
@@ -1115,7 +1115,7 @@ class ViewController: UITabBarController, UITabBarControllerDelegate, SettingMAB
|
|
} else if count == 2 {
|
|
} else if count == 2 {
|
|
if !icon.isEmpty {
|
|
if !icon.isEmpty {
|
|
DispatchQueue.global().async {
|
|
DispatchQueue.global().async {
|
|
- ViewController.getDataImageFromUrl(from: URL(string: "https://newuniverse.io/get_file?account=\(Nexilis.sAPIKey)&image=\(icon)")!) { data, response, error in
|
|
|
|
|
|
+ ViewController.getDataImageFromUrl(from: URL(string: "https://nexilis.io/get_file?account=\(Nexilis.sAPIKey)&image=\(icon)")!) { data, response, error in
|
|
guard let data = data, error == nil else { return }
|
|
guard let data = data, error == nil else { return }
|
|
// always update the UI from the main thread
|
|
// always update the UI from the main thread
|
|
DispatchQueue.main.async() {
|
|
DispatchQueue.main.async() {
|
|
@@ -1129,7 +1129,7 @@ class ViewController: UITabBarController, UITabBarControllerDelegate, SettingMAB
|
|
} else if count == 3 {
|
|
} else if count == 3 {
|
|
if !icon.isEmpty {
|
|
if !icon.isEmpty {
|
|
DispatchQueue.global().async {
|
|
DispatchQueue.global().async {
|
|
- ViewController.getDataImageFromUrl(from: URL(string: "https://newuniverse.io/get_file?account=\(Nexilis.sAPIKey)&image=\(icon)")!) { data, response, error in
|
|
|
|
|
|
+ ViewController.getDataImageFromUrl(from: URL(string: "https://nexilis.io/get_file?account=\(Nexilis.sAPIKey)&image=\(icon)")!) { data, response, error in
|
|
guard let data = data, error == nil else { return }
|
|
guard let data = data, error == nil else { return }
|
|
// always update the UI from the main thread
|
|
// always update the UI from the main thread
|
|
DispatchQueue.main.async() {
|
|
DispatchQueue.main.async() {
|
|
@@ -1143,7 +1143,7 @@ class ViewController: UITabBarController, UITabBarControllerDelegate, SettingMAB
|
|
} else if count == 4 {
|
|
} else if count == 4 {
|
|
if !icon.isEmpty {
|
|
if !icon.isEmpty {
|
|
DispatchQueue.global().async {
|
|
DispatchQueue.global().async {
|
|
- ViewController.getDataImageFromUrl(from: URL(string: "https://newuniverse.io/get_file?account=\(Nexilis.sAPIKey)&image=\(icon)")!) { data, response, error in
|
|
|
|
|
|
+ ViewController.getDataImageFromUrl(from: URL(string: "https://nexilis.io/get_file?account=\(Nexilis.sAPIKey)&image=\(icon)")!) { data, response, error in
|
|
guard let data = data, error == nil else { return }
|
|
guard let data = data, error == nil else { return }
|
|
// always update the UI from the main thread
|
|
// always update the UI from the main thread
|
|
DispatchQueue.main.async() {
|
|
DispatchQueue.main.async() {
|