diff GeoQuiz/Logic/UserDataModel.swift @ 19:f140bb277c96

refactor code
author Dennis C. M. <dennis@denniscm.com>
date Sun, 23 Oct 2022 00:11:38 +0100
parents 136928bae534
children
line wrap: on
line diff
--- a/GeoQuiz/Logic/UserDataModel.swift	Sat Oct 22 08:56:54 2022 +0100
+++ b/GeoQuiz/Logic/UserDataModel.swift	Sun Oct 23 00:11:38 2022 +0100
@@ -8,7 +8,7 @@
 import Foundation
 import SwiftUI
 
-struct UserData: Codable {
+struct UserDataModel: Codable {
     
     // Settings
     var haptics: Bool = true
@@ -16,7 +16,7 @@
     var numberOfLives: Int = 25
     
     // Profile
-    var username: String = "Anonymous"
+    var username: String = "Unnamed"
     var imageData: Data?
     
     var uiImage: UIImage? {