rate app option added

This commit is contained in:
h4h13 2018-08-06 16:16:59 +05:30
parent 1b7a7b68b1
commit 495f1a8e4d

View file

@ -97,11 +97,13 @@ public class HomeOptionDialog extends RoundedBottomSheetDialogFragment {
@SuppressWarnings("ConstantConditions") @SuppressWarnings("ConstantConditions")
@OnClick({R.id.action_about, R.id.user_info_container, R.id.action_buy_pro, R.id.action_folder, @OnClick({R.id.action_about, R.id.user_info_container, R.id.action_buy_pro, R.id.action_folder,
R.id.action_settings, R.id.action_sleep_timer}) R.id.action_settings, R.id.action_sleep_timer,R.id.action_rate})
public void onViewClicked(View view) { public void onViewClicked(View view) {
switch (view.getId()) { switch (view.getId()) {
case R.id.user_info_container: case R.id.user_info_container:
NavigationUtil.goToUserInfo(getActivity()); NavigationUtil.goToUserInfo(getActivity());
break; case R.id.action_rate:
NavigationUtil.goToPlayStore(getActivity());
break; break;
case R.id.action_folder: case R.id.action_folder:
MainActivity mainActivity = (MainActivity) getActivity(); MainActivity mainActivity = (MainActivity) getActivity();