mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-05 08:33:37 +02:00
Added support button to error dialog
This commit is contained in:
@@ -42,6 +42,7 @@ public class ActivityError extends ActivityBase {
|
||||
private Button btnPassword;
|
||||
private ImageButton ibSetting;
|
||||
private ImageButton ibInfo;
|
||||
private Button btnSupport;
|
||||
|
||||
@Override
|
||||
protected void onCreate(Bundle savedInstanceState) {
|
||||
@@ -57,6 +58,7 @@ public class ActivityError extends ActivityBase {
|
||||
btnPassword = findViewById(R.id.btnPassword);
|
||||
ibSetting = findViewById(R.id.ibSetting);
|
||||
ibInfo = findViewById(R.id.ibInfo);
|
||||
btnSupport = findViewById(R.id.btnSupport);
|
||||
|
||||
load();
|
||||
}
|
||||
@@ -173,6 +175,13 @@ public class ActivityError extends ActivityBase {
|
||||
}
|
||||
});
|
||||
|
||||
btnSupport.setOnClickListener(new View.OnClickListener() {
|
||||
@Override
|
||||
public void onClick(View v) {
|
||||
Helper.view(v.getContext(), Helper.getSupportUri(v.getContext(), "error"), false);
|
||||
}
|
||||
});
|
||||
|
||||
Bundle args = new Bundle();
|
||||
args.putLong("account", account);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user