- 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:
2024-08-20 19:50:11 +05:30
parent 9b9e95301e
commit 750cc59cde
23 changed files with 903 additions and 98 deletions

View 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"
}
}
}