Refactoring

pull/178/head
M66B 5 years ago
parent e197cd230d
commit 94ccae2ef2

@ -4476,10 +4476,7 @@ public class FragmentCompose extends FragmentBase {
final Context context = getContext();
new Handler().post(new Runnable() {
@Override
public void run() {
View target;
final View target;
if (TextUtils.isEmpty(etTo.getText().toString().trim()))
target = etTo;
else if (TextUtils.isEmpty(etSubject.getText().toString()))
@ -4487,6 +4484,9 @@ public class FragmentCompose extends FragmentBase {
else
target = etBody;
new Handler().post(new Runnable() {
@Override
public void run() {
target.requestFocus();
SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(context);

Loading…
Cancel
Save