some async refactorings
This commit is contained in:
1 parent
dbf953f879
commit
2c71909283
8 files changed
+11
-13
No files matched your search
@@ -46,7 +46,7 @@ class AppInitializationService extends _$AppInitializationService {
|
||||
.syncBangGroups(syncInterval: const Duration(days: 7));
|
||||
}
|
||||
|
||||
Future<Map<HostSource, Result<void>>> _initHosts(Settings settings) async {
|
||||
FutureOr<Map<HostSource, Result<void>>> _initHosts(Settings settings) {
|
||||
if (settings.enableContentBlocking) {
|
||||
state = Result.success(
|
||||
(
|
||||
|
||||
Reference in new issue
Block a user