mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-01 06:38:29 +02:00
Extra
This commit is contained in:
@@ -113,6 +113,7 @@ public class FragmentSetup extends FragmentBase {
|
||||
|
||||
private Button btnApp;
|
||||
private Button btnDelete;
|
||||
private Button btnMore;
|
||||
private Button btnSupport;
|
||||
|
||||
private Group grpInexactAlarms;
|
||||
@@ -184,6 +185,7 @@ public class FragmentSetup extends FragmentBase {
|
||||
|
||||
btnApp = view.findViewById(R.id.btnApp);
|
||||
btnDelete = view.findViewById(R.id.btnDelete);
|
||||
btnMore = view.findViewById(R.id.btnMore);
|
||||
btnSupport = view.findViewById(R.id.btnSupport);
|
||||
|
||||
grpInexactAlarms = view.findViewById(R.id.grpInexactAlarms);
|
||||
@@ -600,6 +602,14 @@ public class FragmentSetup extends FragmentBase {
|
||||
}
|
||||
});
|
||||
|
||||
btnMore.setOnClickListener(new View.OnClickListener() {
|
||||
@Override
|
||||
public void onClick(View v) {
|
||||
LocalBroadcastManager lbm = LocalBroadcastManager.getInstance(getContext());
|
||||
lbm.sendBroadcast(new Intent(ActivitySetup.ACTION_SETUP_MORE));
|
||||
}
|
||||
});
|
||||
|
||||
grpSupport.setVisibility(
|
||||
Helper.hasValidFingerprint(getContext()) || BuildConfig.DEBUG
|
||||
? View.VISIBLE : View.GONE);
|
||||
|
||||
Reference in New Issue
Block a user