Commit 8601e572 authored by Leonardo Aramaki's avatar Leonardo Aramaki

Merge branch 'develop' into feature/multi-server

parents c1bec0f1 5d6b2c64
package chat.rocket.android; package chat.rocket.android;
import android.os.Build;
import android.support.multidex.MultiDexApplication; import android.support.multidex.MultiDexApplication;
import android.support.v7.app.AppCompatDelegate;
import chat.rocket.android.helper.OkHttpHelper; import chat.rocket.android.helper.OkHttpHelper;
import com.crashlytics.android.Crashlytics; import com.crashlytics.android.Crashlytics;
...@@ -30,5 +33,9 @@ public class RocketChatApplication extends MultiDexApplication { ...@@ -30,5 +33,9 @@ public class RocketChatApplication extends MultiDexApplication {
} }
RocketChatWidgets.initialize(this, OkHttpHelper.INSTANCE.getClientForDownloadFile(this)); RocketChatWidgets.initialize(this, OkHttpHelper.INSTANCE.getClientForDownloadFile(this));
if (Build.VERSION.SDK_INT < Build.VERSION_CODES.LOLLIPOP) {
AppCompatDelegate.setCompatVectorFromResourcesEnabled(true);
}
} }
} }
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment