mirror of
https://github.com/M66B/FairEmail.git
synced 2025-01-01 04:35:57 +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.DialogInterface;
|
||||
import android.content.Intent;
|
||||
import android.content.pm.PackageManager;
|
||||
import android.net.Uri;
|
||||
import android.os.Bundle;
|
||||
import android.os.Handler;
|
||||
|
@ -125,6 +124,7 @@ public class FragmentQuickSetup extends FragmentBase {
|
|||
return false;
|
||||
}
|
||||
});
|
||||
|
||||
btnCheck.setOnClickListener(new View.OnClickListener() {
|
||||
@Override
|
||||
public void onClick(View v) {
|
||||
|
@ -173,12 +173,6 @@ public class FragmentQuickSetup extends FragmentBase {
|
|||
super.onCreateOptionsMenu(menu, inflater);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onPrepareOptionsMenu(Menu menu) {
|
||||
PackageManager pm = getContext().getPackageManager();
|
||||
super.onPrepareOptionsMenu(menu);
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean onOptionsItemSelected(MenuItem item) {
|
||||
switch (item.getItemId()) {
|
||||
|
@ -193,6 +187,7 @@ public class FragmentQuickSetup extends FragmentBase {
|
|||
private void onMenuHelp() {
|
||||
Bundle args = new Bundle();
|
||||
args.putString("name", "SETUP.md");
|
||||
|
||||
FragmentDialogMarkdown fragment = new FragmentDialogMarkdown();
|
||||
fragment.setArguments(args);
|
||||
fragment.show(getChildFragmentManager(), "help");
|
||||
|
@ -222,8 +217,6 @@ public class FragmentQuickSetup extends FragmentBase {
|
|||
|
||||
@Override
|
||||
protected void onPostExecute(Bundle args) {
|
||||
boolean check = args.getBoolean("check");
|
||||
|
||||
Helper.setViewsEnabled(view, true);
|
||||
pbCheck.setVisibility(View.GONE);
|
||||
pbSave.setVisibility(View.GONE);
|
||||
|
|
Loading…
Reference in a new issue