Small improvement

pull/162/head
M66B 5 years ago
parent 09ac60d299
commit 233cf8d52a

@ -148,7 +148,7 @@ public class FragmentPro extends FragmentBase implements SharedPreferences.OnSha
@Override @Override
public void onError(String message) { public void onError(String message) {
final Intent support = new Intent(Intent.ACTION_VIEW, Uri.parse(Helper.SUPPORT_URI)); final Intent support = new Intent(Intent.ACTION_VIEW, Uri.parse(Helper.SUPPORT_URI));
Snackbar snackbar = Snackbar.make(getView(), message, Snackbar.LENGTH_LONG); Snackbar snackbar = Snackbar.make(getView(), message, Snackbar.LENGTH_INDEFINITE);
if (support.resolveActivity(getContext().getPackageManager()) != null) if (support.resolveActivity(getContext().getPackageManager()) != null)
snackbar.setAction(R.string.title_setup_help, new View.OnClickListener() { snackbar.setAction(R.string.title_setup_help, new View.OnClickListener() {
@Override @Override

Loading…
Cancel
Save