resetDefaultCommodity();
});
- FloatingActionButton fab = context.findViewById(R.id.fab);
+ FloatingActionButton fab = context.findViewById(R.id.fabAdd);
fab.setOnClickListener(v -> onSaveFabClicked());
hookTextChangeSyncRoutine(binding.profileName, model::setProfileName);
if (model.getUseAuthentication()) {
String urlText = model.getUrl();
- if (urlText.startsWith("http") && !urlText.startsWith("https"))
+ if (urlText.startsWith("http://") ||
+ urlText.length() >= 8 && !urlText.startsWith("https://"))
showWarning = true;
}