added support for tor entry/exit countries
This commit is contained in:
@@ -55,6 +55,14 @@ class TorSettingsRepository extends _$TorSettingsRepository {
|
||||
DriftSqlType.bool,
|
||||
db.typeMapping,
|
||||
),
|
||||
'entryNodeCountry': settings['entryNodeCountry']?.readAs(
|
||||
DriftSqlType.string,
|
||||
db.typeMapping,
|
||||
),
|
||||
'exitNodeCountry': settings['exitNodeCountry']?.readAs(
|
||||
DriftSqlType.string,
|
||||
db.typeMapping,
|
||||
),
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
@@ -34,7 +34,7 @@ final class TorSettingsRepositoryProvider
|
||||
}
|
||||
|
||||
String _$torSettingsRepositoryHash() =>
|
||||
r'341730ed58b49ab3d721583e0f2d5ac650018918';
|
||||
r'f771f23f17903bd192b24604bab522fb20571ffd';
|
||||
|
||||
abstract class _$TorSettingsRepository extends $StreamNotifier<TorSettings> {
|
||||
Stream<TorSettings> build();
|
||||
|
||||
Reference in New Issue
Block a user