Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

[mob][photos] Change button type to neutral

Neeraj Guptab12e6221d431
diff --git a/mobile/lib/ui/cast/choose.dart b/mobile/lib/ui/cast/choose.dart
index 1cfd275c89..7f02887334 100644
--- a/mobile/lib/ui/cast/choose.dart
+++ b/mobile/lib/ui/cast/choose.dart
@@ -38,7 +38,7 @@ class _CastChooseDialogState extends State<CastChooseDialog> {
ButtonWidget(
labelText: S.of(context).autoPair,
icon: Icons.cast_outlined,
- buttonType: ButtonType.primary,
+ buttonType: ButtonType.neutral,
buttonSize: ButtonSize.large,
shouldStickToDarkTheme: true,
buttonAction: ButtonAction.first,
@@ -56,7 +56,7 @@ class _CastChooseDialogState extends State<CastChooseDialog> {
const SizedBox(height: 12),
ButtonWidget(
labelText: S.of(context).pairWithPin,
- buttonType: ButtonType.primary,
+ buttonType: ButtonType.neutral,
// icon for pairing with TV manually
icon: Icons.tv_outlined,
buttonSize: ButtonSize.large,
diff --git a/mobile/plugins/ente_cast_normal/lib/src/service.dart b/mobile/plugins/ente_cast_normal/lib/src/service.dart
index 454af58adf..34787734b6 100644
--- a/mobile/plugins/ente_cast_normal/lib/src/service.dart
+++ b/mobile/plugins/ente_cast_normal/lib/src/service.dart
@@ -78,14 +78,13 @@ class CastServiceImpl extends CastService {
}).timeout(
const Duration(seconds: 5),
onTimeout: () {
- print('sendMessage timed out after 5 seconds');
+ debugPrint('sendMessage timed out after 5 seconds');
},
);
debugPrint("close session ${session.sessionId}");
session.close();
}
CastSessionManager().sessions.clear();
- debugPrint("send close message");
return Future.value();
}