mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2024-11-26 20:06:52 +01:00
Fix missing permission request buttons
This commit is contained in:
parent
edf94625b8
commit
06b14248d0
@ -113,6 +113,9 @@ public class WelcomeFragmentPermissions extends Fragment {
|
||||
holder.requestButton.setEnabled(false);
|
||||
holder.checkmarkImageView.setVisibility(View.VISIBLE);
|
||||
} else {
|
||||
holder.requestButton.setVisibility(View.VISIBLE);
|
||||
holder.requestButton.setEnabled(true);
|
||||
holder.checkmarkImageView.setVisibility(View.GONE);
|
||||
holder.requestButton.setOnClickListener(view -> {
|
||||
PermissionsUtils.requestPermission(requireActivity(), permissionData.getPermission());
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user