- handled theme 2 player pause while the radio is opened and closed
- Completed forget username flow with hindi language - Completed app update functionality, need the api to be updated as the version will not be a double, its going to be string
This commit is contained in:
41
WOKA/OnBoarding Module/Model/AppUpdateDM.swift
Normal file
41
WOKA/OnBoarding Module/Model/AppUpdateDM.swift
Normal file
@@ -0,0 +1,41 @@
|
||||
//
|
||||
// AppUpdateDM.swift
|
||||
// WOKA
|
||||
//
|
||||
// Created by MacBook Pro on 20/08/24.
|
||||
//
|
||||
|
||||
import Foundation
|
||||
|
||||
// MARK: - AppUpdateDM
|
||||
struct AppUpdateDM: Codable {
|
||||
let the0: The0?
|
||||
let msg: String?
|
||||
let url: String?
|
||||
|
||||
enum CodingKeys: String, CodingKey {
|
||||
case the0 = "0"
|
||||
case msg, url
|
||||
}
|
||||
|
||||
// MARK: - The0
|
||||
struct The0: Codable {
|
||||
let id: Int?
|
||||
let versionID, releaseDate: String?
|
||||
let oldVersion: Int?
|
||||
let newVersion, forceUpdateVersion: Double?
|
||||
let forceUpdate: Int?
|
||||
let releaseNotes: String?
|
||||
|
||||
enum CodingKeys: String, CodingKey {
|
||||
case id
|
||||
case versionID = "version_id"
|
||||
case releaseDate = "release_date"
|
||||
case oldVersion = "old_version"
|
||||
case newVersion = "new_version"
|
||||
case forceUpdateVersion = "force_update_version"
|
||||
case forceUpdate = "force_update"
|
||||
case releaseNotes = "release_notes"
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user