Temporal fix to avoid compilation errors

This commit is contained in:
Severiano Jaramillo 2018-08-27 13:03:15 -05:00
parent c3bd0a5f53
commit f219ccee47

View file

@ -93,7 +93,9 @@ public class CrystalApplication extends Application {
CryptoNetEvents.getInstance().addListener(crystalWalletNotifier); CryptoNetEvents.getInstance().addListener(crystalWalletNotifier);
//Next line is for use the bitshares main net //Next line is for use the bitshares main net
CryptoNetManager.addCryptoNetURL(CryptoNet.BITSHARES,BITSHARES_URL); // TODO fix, the following line accepts one string not an array it needs to accept an arrey
// TODO and hoop over the urls if no connection can be established
CryptoNetManager.addCryptoNetURL(CryptoNet.BITSHARES,BITSHARES_URL[2]);
GeneralSetting generalSettingPreferredLanguage = db.generalSettingDao().getSettingByName(GeneralSetting.SETTING_NAME_PREFERRED_LANGUAGE); GeneralSetting generalSettingPreferredLanguage = db.generalSettingDao().getSettingByName(GeneralSetting.SETTING_NAME_PREFERRED_LANGUAGE);