set background color for primary action buttons on upload and participate

Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
This commit is contained in:
Andy Scherzinger 2019-01-21 23:04:49 +01:00
parent c4b5d8f2e9
commit 34cef89ce8
No known key found for this signature in database
GPG key ID: 6CADC7E3523C308B
2 changed files with 2 additions and 2 deletions

View file

@ -93,7 +93,7 @@ public class CommunityActivity extends FileActivity {
getString(R.string.contributing_link)))));
MaterialButton reportButton = findViewById(R.id.community_testing_report);
reportButton.getBackground().setColorFilter(ThemeUtils.primaryColor(this, true), PorterDuff.Mode.SRC_ATOP);
reportButton.setBackgroundColor(ThemeUtils.primaryColor(this,true));
reportButton.setOnClickListener(v -> DisplayUtils.startLinkIntent(this, R.string.report_issue_link));
}

View file

@ -178,7 +178,7 @@ public class UploadFilesActivity extends FileActivity implements
mCancelButton.setOnClickListener(this);
mUploadBtn = findViewById(R.id.upload_files_btn_upload);
mUploadBtn.getBackground().setColorFilter(ThemeUtils.primaryColor(this, true), PorterDuff.Mode.SRC_ATOP);
mUploadBtn.setBackgroundColor(ThemeUtils.primaryColor(this,true));
mUploadBtn.setOnClickListener(this);
int localBehaviour = preferences.getUploaderBehaviour();