Rename function
This commit is contained in:
parent
f962230060
commit
c2dbdaaf7b
2 changed files with 2 additions and 2 deletions
|
@ -113,7 +113,7 @@ class BillingService {
|
|||
}
|
||||
}
|
||||
|
||||
Future<double> getUsageInGBs() async {
|
||||
Future<double> fetchUsageInGBs() async {
|
||||
try {
|
||||
final response = await _dio.get(
|
||||
_config.getHttpEndpoint() + "/billing/usage",
|
||||
|
|
|
@ -157,7 +157,7 @@ class BackupSettingsWidgetState extends State<BackupSettingsWidget> {
|
|||
}
|
||||
|
||||
void _getUsage() {
|
||||
BillingService.instance.getUsageInGBs().then((usage) async {
|
||||
BillingService.instance.fetchUsageInGBs().then((usage) async {
|
||||
if (mounted) {
|
||||
setState(() {
|
||||
_usageInGBs = usage;
|
||||
|
|
Loading…
Add table
Reference in a new issue