✨ Real-time local notify
This commit is contained in:
@ -51,6 +51,8 @@ class _ChatCallState extends State<ChatCall> {
|
||||
List<ParticipantTrack> _participantTracks = [];
|
||||
|
||||
Future<void> checkPermissions() async {
|
||||
if(lkPlatformIs(PlatformType.macOS) || lkPlatformIs(PlatformType.linux)) return;
|
||||
|
||||
await Permission.camera.request();
|
||||
await Permission.microphone.request();
|
||||
await Permission.bluetooth.request();
|
||||
|
@ -21,6 +21,8 @@ class _NotificationScreenState extends State<NotificationScreen> {
|
||||
final auth = context.read<AuthProvider>();
|
||||
final nty = context.watch<NotifyProvider>();
|
||||
|
||||
WidgetsBinding.instance.addPostFrameCallback((_) => nty.allRead());
|
||||
|
||||
return IndentWrapper(
|
||||
noSafeArea: true,
|
||||
hideDrawer: true,
|
||||
|
Reference in New Issue
Block a user