support proxyRegularTabsMode serialization
This commit is contained in:
@@ -38,6 +38,10 @@ class TorSettingsRepository extends _$TorSettingsRepository {
|
|||||||
final db = ref.read(userDatabaseProvider);
|
final db = ref.read(userDatabaseProvider);
|
||||||
|
|
||||||
return TorSettings.fromJson({
|
return TorSettings.fromJson({
|
||||||
|
'proxyRegularTabsMode': settings['proxyRegularTabsMode']?.readAs(
|
||||||
|
DriftSqlType.string,
|
||||||
|
db.typeMapping,
|
||||||
|
),
|
||||||
'proxyPrivateTabsTor': settings['proxyPrivateTabsTor']?.readAs(
|
'proxyPrivateTabsTor': settings['proxyPrivateTabsTor']?.readAs(
|
||||||
DriftSqlType.bool,
|
DriftSqlType.bool,
|
||||||
db.typeMapping,
|
db.typeMapping,
|
||||||
|
|||||||
@@ -34,7 +34,7 @@ final class TorSettingsRepositoryProvider
|
|||||||
}
|
}
|
||||||
|
|
||||||
String _$torSettingsRepositoryHash() =>
|
String _$torSettingsRepositoryHash() =>
|
||||||
r'ef80d1cc6b9b72cce371c03c656b10a0924d49d0';
|
r'be8519d4baf60436cae422813c2f2bbb5c2186d3';
|
||||||
|
|
||||||
abstract class _$TorSettingsRepository extends $StreamNotifier<TorSettings> {
|
abstract class _$TorSettingsRepository extends $StreamNotifier<TorSettings> {
|
||||||
Stream<TorSettings> build();
|
Stream<TorSettings> build();
|
||||||
|
|||||||
Reference in New Issue
Block a user