Added Profile picture

dev
suresh 1 year ago
parent 1cc0689126
commit 4926ff9033

@ -905,6 +905,7 @@ class AppSettings {
await saveData('phone', input['simplydata']['phone'], 'STRING');
await saveData('email', input['simplydata']['email'][0]['email'], 'STRING');
await saveData('supplierId', input['simplydata']['supplierId'], 'STRING');
await saveData('profile', input['simplydata']['picture'], 'STRING');
await saveData('supplieraddress', input['simplydata']['office_address'], 'STRING');
await loadDataFromMemory();
@ -921,6 +922,7 @@ class AppSettings {
email=await getData('email', 'STRING');
phoneNumber=await getData('phone', 'STRING');
supplierId=await getData('supplierId', 'STRING');
profilePictureUrl=await getData('profile', 'STRING');
supplierAddress=await getData('supplieraddress', 'STRING');
}

Loading…
Cancel
Save