mirror of https://github.com/M66B/FairEmail.git
Suppress folder errors in release builds
This commit is contained in:
parent
692534bef5
commit
595b9d87fc
|
@ -143,7 +143,7 @@ public class AdapterFolder extends RecyclerView.Adapter<AdapterFolder.ViewHolder
|
||||||
}
|
}
|
||||||
|
|
||||||
tvError.setText(folder.error);
|
tvError.setText(folder.error);
|
||||||
tvError.setVisibility(folder.error == null ? View.GONE : View.VISIBLE);
|
tvError.setVisibility(folder.error != null && BuildConfig.DEBUG ? View.VISIBLE : View.GONE);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
Loading…
Reference in New Issue