Update: 2026-06-26 01:43:37
This commit is contained in:
@@ -3,6 +3,7 @@ import 'dart:io';
|
||||
import 'package:firebase_messaging/firebase_messaging.dart';
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:get/get.dart';
|
||||
import 'package:siro_service/views/widgets/mycircular.dart';
|
||||
import 'package:http/http.dart' as http;
|
||||
|
||||
import '../../constant/api_key.dart';
|
||||
@@ -64,8 +65,7 @@ class FirebaseMessagesController extends GetxController {
|
||||
}
|
||||
box.write(BoxName.tokens, tokens);
|
||||
} else {
|
||||
Get.snackbar("Warning".tr, "Server Error".tr,
|
||||
backgroundColor: AppColor.redColor);
|
||||
mySnackbarWarning("Server Error".tr);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user