upgrade to gecko 149.0
This commit is contained in:
+1
@@ -1513,6 +1513,7 @@ class _SendToDeviceExpansion extends ConsumerWidget {
|
||||
deviceId: device.deviceId,
|
||||
title: title,
|
||||
url: tabState.url.toString(),
|
||||
private: tabState.tabMode == TabMode.private,
|
||||
);
|
||||
|
||||
if (context.mounted) {
|
||||
|
||||
+2
@@ -32,6 +32,7 @@ import 'package:weblibre/features/geckoview/domain/providers/tab_state.dart';
|
||||
import 'package:weblibre/features/geckoview/features/browser/presentation/dialogs/content_selection_dialog.dart';
|
||||
import 'package:weblibre/features/geckoview/features/browser/presentation/dialogs/qr_code.dart';
|
||||
import 'package:weblibre/features/geckoview/features/tabs/data/database/definitions.drift.dart';
|
||||
import 'package:weblibre/features/geckoview/features/tabs/data/entities/tab_mode.dart';
|
||||
import 'package:weblibre/features/geckoview/features/tabs/domain/repositories/tab.dart';
|
||||
import 'package:weblibre/features/sync/domain/repositories/sync.dart';
|
||||
import 'package:weblibre/presentation/hooks/cached_future.dart';
|
||||
@@ -377,6 +378,7 @@ class SendTabToDeviceMenuItemButton extends HookConsumerWidget {
|
||||
deviceId: device.deviceId,
|
||||
title: title,
|
||||
url: tabState.url.toString(),
|
||||
private: tabState.tabMode == TabMode.private,
|
||||
);
|
||||
|
||||
if (context.mounted) {
|
||||
|
||||
+2
@@ -36,6 +36,7 @@ import 'package:weblibre/features/geckoview/features/open_link_tools/domain/enti
|
||||
import 'package:weblibre/features/geckoview/features/open_link_tools/domain/services/url_cleaner_catalog_service.dart';
|
||||
import 'package:weblibre/features/geckoview/features/open_link_tools/presentation/dialogs/tracking_details_dialog.dart';
|
||||
import 'package:weblibre/features/geckoview/features/open_link_tools/presentation/hooks/url_cleaner_controller.dart';
|
||||
import 'package:weblibre/features/geckoview/features/tabs/data/entities/tab_mode.dart';
|
||||
import 'package:weblibre/features/sync/domain/repositories/sync.dart';
|
||||
import 'package:weblibre/features/user/domain/repositories/general_settings.dart';
|
||||
import 'package:weblibre/presentation/hooks/cached_future.dart';
|
||||
@@ -426,6 +427,7 @@ class _SendToDeviceTile extends ConsumerWidget {
|
||||
deviceId: device.deviceId,
|
||||
title: title,
|
||||
url: tabState.url.toString(),
|
||||
private: tabState.tabMode == TabMode.private,
|
||||
);
|
||||
|
||||
if (context.mounted) {
|
||||
|
||||
@@ -247,8 +247,9 @@ class SyncRepository extends _$SyncRepository {
|
||||
required String deviceId,
|
||||
required String title,
|
||||
required String url,
|
||||
required bool private,
|
||||
}) {
|
||||
return _service.sendTabToDevice(deviceId, title, url);
|
||||
return _service.sendTabToDevice(deviceId, title, url, private);
|
||||
}
|
||||
|
||||
Future<bool> setDeviceName(String newName) async {
|
||||
|
||||
@@ -336,7 +336,7 @@ final class SyncRepositoryProvider
|
||||
SyncRepository create() => SyncRepository();
|
||||
}
|
||||
|
||||
String _$syncRepositoryHash() => r'c2765421a6cea9620e752aa9cbb37f79baf5b1c3';
|
||||
String _$syncRepositoryHash() => r'fa3067cf8f48c7b32ffa3e0f25ebfb990695730c';
|
||||
|
||||
abstract class _$SyncRepository extends $AsyncNotifier<SyncRepositoryState> {
|
||||
FutureOr<SyncRepositoryState> build();
|
||||
|
||||
Reference in New Issue
Block a user