Modified the Application module. Removed the Application class and added its methods to the exports directly.

This commit is contained in:
atanasovg
2014-05-09 19:25:11 +03:00
parent 7aa70fb14c
commit 44c51a0e48
10 changed files with 70 additions and 108 deletions

View File

@@ -5,7 +5,7 @@ export class UserPreferences {
private sharedPreferences: any;
constructor() {
this.sharedPreferences = appModule.current.android.context.getSharedPreferences("prefs.db", 0);
this.sharedPreferences = appModule.android.context.getSharedPreferences("prefs.db", 0);
}
public containsKey(key: string): boolean {