checkbox in details screen for set available offline is now themed

This commit is contained in:
tobiaskaminsky 2017-07-04 10:19:28 +02:00
parent 6c3ffc8901
commit 2ff2eefb9c
No known key found for this signature in database
GPG key ID: 0E00D4D47D0C5AF7

View file

@ -24,6 +24,7 @@ package com.owncloud.android.ui.fragment;
import android.accounts.Account;
import android.graphics.Bitmap;
import android.os.Bundle;
import android.support.v7.widget.AppCompatCheckBox;
import android.view.LayoutInflater;
import android.view.Menu;
import android.view.MenuInflater;
@ -147,6 +148,9 @@ public class FileDetailFragment extends FileFragment implements OnClickListener
ThemeUtils.colorPreLollipopHorizontalProgressBar(progressBar);
mProgressListener = new ProgressListener(progressBar);
mView.findViewById(R.id.fdCancelBtn).setOnClickListener(this);
AppCompatCheckBox favoriteCheckBox = (AppCompatCheckBox) mView.findViewById(R.id.fdFavorite);
ThemeUtils.tintCheckbox(favoriteCheckBox, ThemeUtils.primaryAccentColor());
}
updateFileDetails(false, false);