update llc dependency
This commit is contained in:
@@ -1 +1 @@
|
|||||||
c3e639ccf9b069e37a7d1345194e6b99
|
13a41b8138c4868054e44b5158f3bdd6
|
||||||
@@ -24,7 +24,7 @@ void main() async {
|
|||||||
|
|
||||||
final client = Client(
|
final client = Client(
|
||||||
apiKey ?? kDefaultStreamApiKey,
|
apiKey ?? kDefaultStreamApiKey,
|
||||||
logLevel: Level.INFO,
|
logLevel: Level.SEVERE,
|
||||||
showLocalNotification:
|
showLocalNotification:
|
||||||
(!kIsWeb && Platform.isAndroid) ? showLocalNotification : null,
|
(!kIsWeb && Platform.isAndroid) ? showLocalNotification : null,
|
||||||
persistenceEnabled: true,
|
persistenceEnabled: true,
|
||||||
@@ -213,12 +213,16 @@ class _HomePageState extends State<HomePage> {
|
|||||||
alignment: Alignment.bottomCenter,
|
alignment: Alignment.bottomCenter,
|
||||||
child: ListTile(
|
child: ListTile(
|
||||||
onTap: () async {
|
onTap: () async {
|
||||||
await StreamChat.of(context).client.disconnect();
|
Navigator.pop(context);
|
||||||
|
|
||||||
final secureStorage = FlutterSecureStorage();
|
final secureStorage = FlutterSecureStorage();
|
||||||
await secureStorage.deleteAll();
|
await secureStorage.deleteAll();
|
||||||
Navigator.pop(context);
|
|
||||||
Navigator.pushReplacementNamed(
|
StreamChat.of(context).client.disconnect(
|
||||||
|
clearUser: true,
|
||||||
|
);
|
||||||
|
|
||||||
|
await Navigator.pushReplacementNamed(
|
||||||
context,
|
context,
|
||||||
Routes.CHOOSE_USER,
|
Routes.CHOOSE_USER,
|
||||||
);
|
);
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
name: example
|
name: example
|
||||||
description: A new Flutter project.
|
description: A new Flutter project.
|
||||||
version: 1.0.91+94
|
version: 1.0.92+95
|
||||||
|
|
||||||
environment:
|
environment:
|
||||||
sdk: ">=2.2.2 <3.0.0"
|
sdk: ">=2.2.2 <3.0.0"
|
||||||
|
|||||||
+1
-1
@@ -28,7 +28,7 @@ dependencies:
|
|||||||
file_picker: ^2.0.12
|
file_picker: ^2.0.12
|
||||||
image_picker: ^0.6.7+2
|
image_picker: ^0.6.7+2
|
||||||
flutter_keyboard_visibility: ^3.3.0
|
flutter_keyboard_visibility: ^3.3.0
|
||||||
stream_chat: ^0.2.14
|
stream_chat: ^0.2.18
|
||||||
mime: ^0.9.6+3
|
mime: ^0.9.6+3
|
||||||
video_compress: ^2.1.1
|
video_compress: ^2.1.1
|
||||||
visibility_detector: ^0.1.5
|
visibility_detector: ^0.1.5
|
||||||
|
|||||||
Reference in New Issue
Block a user