v1.1.27 deactivate customer
This commit is contained in:
@@ -212,6 +212,12 @@ class Cache with Logging {
|
||||
return this.authToken;
|
||||
}
|
||||
|
||||
Future<void> deleteCustomerId(int customerId) async {
|
||||
Future<SharedPreferences> prefs = SharedPreferences.getInstance();
|
||||
SharedPreferences sharedPreferences = await prefs;
|
||||
sharedPreferences.remove(Cache.customerIdKey);
|
||||
}
|
||||
|
||||
Future<void> saveActiveExercisePlan(ExercisePlan exercisePlan, List<ExercisePlanDetail> exercisePlanDetails) async {
|
||||
this.activeExercisePlan = exercisePlan;
|
||||
this.activeExercisePlanDetails = exercisePlanDetails;
|
||||
|
||||
Reference in New Issue
Block a user