mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-28 21:33:53 +01:00
Change disabled appearance of Nominate for Deletion button
This commit is contained in:
parent
4acf0e2ed4
commit
a449870d8b
4 changed files with 38 additions and 10 deletions
|
|
@ -306,6 +306,7 @@ public class MediaDetailFragment extends CommonsDaggerSupportFragment {
|
|||
if (delete.getVisibility() == View.VISIBLE) {
|
||||
delete.setOnClickListener(v -> {
|
||||
delete.setEnabled(false);
|
||||
delete.setTextColor(getResources().getColor(R.color.deleteButtonLight));
|
||||
AlertDialog.Builder alert = new AlertDialog.Builder(getActivity());
|
||||
alert.setMessage("Why should this file be deleted?");
|
||||
final EditText input = new EditText(getActivity());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue