- 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
35 lines
732 B
Swift
35 lines
732 B
Swift
//
|
|
// File.swift
|
|
// WOKA
|
|
//
|
|
// Created by Bilal on 26/04/2024.
|
|
//
|
|
|
|
import Foundation
|
|
|
|
extension K{
|
|
|
|
/**
|
|
This is not for external use!
|
|
This should only be used for storing the defaults
|
|
*/
|
|
|
|
struct UserDefaultsStruct{
|
|
// App Update
|
|
static let appUpdateSkipVer = "appUpdateSkipVer"
|
|
static let themeDefault = "themeDefault"
|
|
static let isUserLogined = "isUserLogined"
|
|
static let userAccessToken = "userAccessToken"
|
|
static let defaultLanguage = "defaultLanguage"
|
|
static let userType = "userType"
|
|
|
|
static let skippedVersion = "skippedVersion"
|
|
}
|
|
}
|
|
|
|
// theme switch enum
|
|
enum ThemeSelect : String{
|
|
case theme1
|
|
case theme2
|
|
}
|