implement profile data persistence

This commit is contained in:
2024-08-23 06:35:49 +03:00
parent 075355980a
commit 722bb10441
18 changed files with 307 additions and 2 deletions

View File

@@ -1,3 +1,4 @@
LOAD reset_unlocked 0
MOUT my_balance 1
MOUT community_balance 2
MOUT back 0

View File

@@ -1,3 +1,5 @@
LOAD reset_unlocked 0
LOAD get_profile_info 0
MOUT edit_name 1
MOUT edit_gender 2
MOUT edit_yob 3

View File

@@ -0,0 +1 @@
Enter family name:

View File

@@ -0,0 +1,6 @@
LOAD save_firstname 0
MOUT back 0
HALT
INCMP _ 0
INCMP select_gender *

View File

@@ -1,3 +1,5 @@
LOAD save_yob 0
MOUT back 0
HALT
INCMP _ 0
INCMP enter_offerings *

View File

@@ -1,3 +1,4 @@
MOUT back 0
HALT
INCMP _ 0
INCMP enter_familyname *

View File

@@ -1,3 +1,10 @@
LOAD save_location 0
CATCH incorrect_pin 15 1
CATCH update_success 16 1
MOUT back 0
HALT
LOAD save_offerings 0
INCMP _ 0
INCMP pin_entry *

View File

@@ -1,3 +1,5 @@
LOAD save_gender 0
MOUT back 0
HALT
INCMP _ 0
INCMP enter_location *

View File

@@ -1,3 +1,4 @@
LOAD reset_unlock_for_update 0
MOUT profile 1
MOUT change_language 2
MOUT check_balance 3

View File

@@ -1,6 +1,10 @@
LOAD save_familyname 0
MOUT male 1
MOUT female 2
MOUT other_gender 3
MOUT back 0
HALT
INCMP _ 0
INCMP enter_yob 1
INCMP enter_yob 2
INCMP enter_yob 3

View File

@@ -0,0 +1 @@
Profile updated successfully

View File

@@ -0,0 +1,3 @@
MOUT back 0
HALT
INCMP ^ 0

View File

@@ -0,0 +1 @@
Akaunti imeupdatiwa

View File

@@ -0,0 +1,2 @@
My profile:
{{.get_profile_info}}

View File

@@ -1 +1,8 @@
LOAD get_profile_info 0
MAP get_profile_info
LOAD reset_incorrect 0
CATCH incorrect_pin 15 1
CATCH pin_entry 12 0
MOUT back 0
HALT
INCMP _ 0

View File

@@ -0,0 +1 @@
Wasifu wangu