Added lib to compress image into jpeg before send on backend
This commit is contained in:
@@ -25,7 +25,6 @@ export class RankingComponent implements OnInit {
|
||||
async fetchUsers() {
|
||||
const loading = await this.loadCtrl.create({
|
||||
message: 'Chargement...',
|
||||
duration: 1000,
|
||||
spinner: 'lines-sharp-small'
|
||||
});
|
||||
await loading.present();
|
||||
@@ -41,5 +40,6 @@ export class RankingComponent implements OnInit {
|
||||
});
|
||||
await toast.present();
|
||||
}
|
||||
await loading.dismiss();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user