Skip to content

Commit

Permalink
Removing multiple initialisation of Preference Manager and Fresco in …
Browse files Browse the repository at this point in the history
…HavenApp

- bug introduced due to a merge error

Signed-off-by: Arka Prava Basu <arka@APB.local>
  • Loading branch information
Arka Prava Basu authored and Arka Prava Basu committed Oct 19, 2018
1 parent 7ea2fea commit da4a9d7
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/main/java/org/havenapp/main/HavenApp.java
Original file line number Diff line number Diff line change
Expand Up @@ -55,10 +55,7 @@ public void onCreate() {
.build();

Fresco.initialize(this,config);

mPrefs = new PreferenceManager(this);

Fresco.initialize(this);

AppCompatDelegate.setCompatVectorFromResourcesEnabled(true);

if (mPrefs.getRemoteAccessActive())
Expand Down

0 comments on commit da4a9d7

Please sign in to comment.