|
|
@@ -108,7 +108,7 @@ public class SheepApp extends BaseApplication {
|
|
|
mContext = getApplicationContext();
|
|
|
mSheepApp = this;
|
|
|
String flavor = SharedPreferences.getInstance().getString("flavor", BuildConfig.FLAVOR);
|
|
|
- if("sheep".equals(BuildConfig.FLAVOR)){
|
|
|
+ if("sheep".equals(BuildConfig.FLAVOR) && !BuildConfig.DEBUG){
|
|
|
flavor = BuildConfig.FLAVOR;
|
|
|
}
|
|
|
connectAddress = ConnectAddress.valueOf(flavor);
|