Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Sai Srinivas
GEN_ERP_2025
Commits
2d7fe8fc
Commit
2d7fe8fc
authored
Nov 28, 2025
by
Sai Srinivas
Browse files
ios
parent
924f8732
Changes
1
Hide whitespace changes
Inline
Side-by-side
lib/screens/hrm/ContactList.dart
View file @
2d7fe8fc
...
@@ -516,18 +516,4 @@ class _ContactListScreenState extends State<ContactListScreen> {
...
@@ -516,18 +516,4 @@ class _ContactListScreenState extends State<ContactListScreen> {
),
),
);
);
}
}
Future
<
void
>
_requestContactsPermission
()
async
{
final
status
=
await
Permission
.
contacts
.
status
;
if
(
status
.
isPermanentlyDenied
)
{
// Show dialog and send user to settings
await
openAppSettings
();
return
;
}
if
(!
status
.
isGranted
)
{
await
Permission
.
contacts
.
request
();
}
}
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment