Переглянути джерело

change default icon button menu fb

alqindiirsyam 2 роки тому
батько
коміт
1371712920

BIN
appbuilder-ios/DigiXLite/DigiXLite.xcworkspace/xcuserdata/akhmadalqindiirsyam.xcuserdatad/UserInterfaceState.xcuserstate


+ 8 - 0
appbuilder-ios/NexilisLite/NexilisLite/Source/View/Chat/EditorGroup.swift

@@ -3508,6 +3508,14 @@ extension EditorGroup: UITableViewDelegate, UITableViewDataSource {
         
         messageText.isUserInteractionEnabled = false
         if !textChat!.isEmpty {
+            if textChat!.contains("■"){
+                textChat = textChat?.replacingOccurrences(of: "■", with: "\n")
+                textChat = textChat?.replacingOccurrences(of: "UPL02cc73b8441692181388714.jpg", with: "")
+                textChat = textChat?.replacingOccurrences(of: "accounts.google.com", with: "")
+                textChat = textChat?.replacingOccurrences(of: "Google Drive: Sign-in", with: "")
+                textChat = textChat?.replacingOccurrences(of: "Access Google Drive with a Google account (for personal use) or Google Workspace account (for...", with: "")
+                textChat = textChat?.trimmingCharacters(in: .whitespacesAndNewlines)
+            }
             let listTextEnter = textChat!.split(separator: "\n")
             for j in 0...listTextEnter.count - 1 {
                 let listText = listTextEnter[j].split(separator: " ")

+ 8 - 0
appbuilder-ios/NexilisLite/NexilisLite/Source/View/Chat/EditorPersonal.swift

@@ -4889,6 +4889,14 @@ extension EditorPersonal: UITableViewDelegate, UITableViewDataSource {
         
         messageText.isUserInteractionEnabled = false
         if !textChat.isEmpty {
+            if textChat.contains("■"){
+                textChat = textChat.replacingOccurrences(of: "■", with: "\n")
+                textChat = textChat.replacingOccurrences(of: "UPL02cc73b8441692181388714.jpg", with: "")
+                textChat = textChat.replacingOccurrences(of: "accounts.google.com", with: "")
+                textChat = textChat.replacingOccurrences(of: "Google Drive: Sign-in", with: "")
+                textChat = textChat.replacingOccurrences(of: "Access Google Drive with a Google account (for personal use) or Google Workspace account (for...", with: "")
+                textChat = textChat.trimmingCharacters(in: .whitespacesAndNewlines)
+            }
             let listTextEnter = textChat.split(separator: "\n")
             for j in 0...listTextEnter.count - 1 {
                 let listText = listTextEnter[j].split(separator: " ")