* ios: reactions UI * remove JSON * remove print * align reactions, show all allowed reactions in menu * move react to the menu top * ios: update preference texts * always allow removing reactions, reduce spacing * revent allow removing (backend does not allow it anyway)
12 lines
208 B
Swift
12 lines
208 B
Swift
//import UIKit
|
|
import SimpleXChat
|
|
|
|
let s =
|
|
"""
|
|
{}
|
|
"""
|
|
//let s = "\"2022-04-24T11:59:23.703162Z\""
|
|
let json = getJSONDecoder()
|
|
let d = s.data(using: .utf8)!
|
|
print (try! json.decode(APIResponse.self, from: d))
|