mirror of
https://github.com/M66B/FairEmail.git
synced 2026-03-31 14:17:03 +02:00
Setup: prepare search
This commit is contained in:
@@ -946,6 +946,18 @@ public class FragmentSetup extends FragmentBase {
|
||||
grpExtra.setVisibility(setup_extra ? View.VISIBLE : View.GONE);
|
||||
}
|
||||
|
||||
void prepareSearch() {
|
||||
try {
|
||||
manual = true;
|
||||
updateManual();
|
||||
SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(getContext());
|
||||
prefs.edit().putBoolean("setup_extra", true).apply();
|
||||
updateExtra();
|
||||
} catch (Throwable ex) {
|
||||
Log.e(ex);
|
||||
}
|
||||
}
|
||||
|
||||
private void ensureVisible(View child) {
|
||||
view.post(new Runnable() {
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user