mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge.git
synced 2025-01-10 17:11:56 +01:00
Fix missing permission request buttons
This commit is contained in:
parent
13c8061507
commit
4c86c275f8
@ -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