Skip to content

Commit

Permalink
chore(): update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
mhartington committed Jul 23, 2020
1 parent 7bc5bb9 commit 148bc92
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[![Circle CI](https://circleci.com/gh/ionic-team/ionic-storage.svg?style=shield)](https://circleci.com/gh/ionic-team/ionic-storage)
[![Build Status](https://img.shields.io/endpoint.svg?url=https%3A%2F%2Factions-badge.atrox.dev%2Fionic-team%2Fionic-storage%2Fbadge%3Fref%3Dmain&style=flat)](https://actions-badge.atrox.dev/ionic-team/ionic-storage/goto?ref=main)

# Ionic Storage
A simple key-value Storage module for Ionic apps based on LocalForage, with out-of-the-box support for SQLite. This utility makes it easy to use the best storage engine available without having to interact with it directly. Currently the ordering is SQLite, IndexedDB, WebSQL, and LocalStorage.
Expand Down Expand Up @@ -55,9 +55,6 @@ Now, you can easily inject `Storage` into a component:

```typescript
import { Component } from '@angular/core';

import { NavController } from 'ionic-angular';

import { Storage } from '@ionic/storage';

@Component({
Expand All @@ -66,7 +63,7 @@ import { Storage } from '@ionic/storage';
})
export class HomePage {

constructor(public navCtrl: NavController, public storage: Storage) {
constructor(private storage: Storage) {
}

}
Expand Down

0 comments on commit 148bc92

Please sign in to comment.