mirror of
https://github.com/M66B/FairEmail.git
synced 2025-01-03 21:55:13 +00:00
Cleanup
This commit is contained in:
parent
fade38f07d
commit
85e2374c90
1 changed files with 2 additions and 9 deletions
|
@ -23,7 +23,6 @@ import android.app.Dialog;
|
||||||
import android.content.Context;
|
import android.content.Context;
|
||||||
import android.content.DialogInterface;
|
import android.content.DialogInterface;
|
||||||
import android.content.Intent;
|
import android.content.Intent;
|
||||||
import android.content.pm.PackageManager;
|
|
||||||
import android.net.Uri;
|
import android.net.Uri;
|
||||||
import android.os.Bundle;
|
import android.os.Bundle;
|
||||||
import android.os.Handler;
|
import android.os.Handler;
|
||||||
|
@ -125,6 +124,7 @@ public class FragmentQuickSetup extends FragmentBase {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
btnCheck.setOnClickListener(new View.OnClickListener() {
|
btnCheck.setOnClickListener(new View.OnClickListener() {
|
||||||
@Override
|
@Override
|
||||||
public void onClick(View v) {
|
public void onClick(View v) {
|
||||||
|
@ -173,12 +173,6 @@ public class FragmentQuickSetup extends FragmentBase {
|
||||||
super.onCreateOptionsMenu(menu, inflater);
|
super.onCreateOptionsMenu(menu, inflater);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
|
||||||
public void onPrepareOptionsMenu(Menu menu) {
|
|
||||||
PackageManager pm = getContext().getPackageManager();
|
|
||||||
super.onPrepareOptionsMenu(menu);
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public boolean onOptionsItemSelected(MenuItem item) {
|
public boolean onOptionsItemSelected(MenuItem item) {
|
||||||
switch (item.getItemId()) {
|
switch (item.getItemId()) {
|
||||||
|
@ -193,6 +187,7 @@ public class FragmentQuickSetup extends FragmentBase {
|
||||||
private void onMenuHelp() {
|
private void onMenuHelp() {
|
||||||
Bundle args = new Bundle();
|
Bundle args = new Bundle();
|
||||||
args.putString("name", "SETUP.md");
|
args.putString("name", "SETUP.md");
|
||||||
|
|
||||||
FragmentDialogMarkdown fragment = new FragmentDialogMarkdown();
|
FragmentDialogMarkdown fragment = new FragmentDialogMarkdown();
|
||||||
fragment.setArguments(args);
|
fragment.setArguments(args);
|
||||||
fragment.show(getChildFragmentManager(), "help");
|
fragment.show(getChildFragmentManager(), "help");
|
||||||
|
@ -222,8 +217,6 @@ public class FragmentQuickSetup extends FragmentBase {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
protected void onPostExecute(Bundle args) {
|
protected void onPostExecute(Bundle args) {
|
||||||
boolean check = args.getBoolean("check");
|
|
||||||
|
|
||||||
Helper.setViewsEnabled(view, true);
|
Helper.setViewsEnabled(view, true);
|
||||||
pbCheck.setVisibility(View.GONE);
|
pbCheck.setVisibility(View.GONE);
|
||||||
pbSave.setVisibility(View.GONE);
|
pbSave.setVisibility(View.GONE);
|
||||||
|
|
Loading…
Reference in a new issue