Files
Woka_Native_iOS/WOKA/Constants K/UserDefaultsStruct.swift
BilalKhanWDI 86bd90db31 - Created an extension to handle the rootview.
- Added localisation to theme 1, also updated the English localisation for reversing the language
- Added localisation to the sidebar. Also handled the live language change with the help of observers
- Integrated GetUserData API at splash.
- Added the login NAv. Now if user will logout he will be redirected to the login Screen.
- Added Activity Indicator on the splash to handle the getuserdata.
- Added Guest Login To home.
2024-05-28 19:47:51 +05:30

31 lines
574 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"
}
}
// theme switch enum
enum ThemeSelect : String{
case theme1
case theme2
}