New Icons, New Translations, More Complete Profile Menu #728

Merged
sarah merged 3 commits from stable-blockers into trunk 2023-09-20 22:33:37 +00:00
3 changed files with 4 additions and 3 deletions
Showing only changes of commit 8ff0cfe5b1 - Show all commits

View File

@ -155,5 +155,5 @@ abstract class Cwtch {
Future<String> SearchConversations(String profile, String pattern);
void DeleteServerInfo(String profile, String handle);
void ConfigureConnections(String onion, bool listen, bool peers, bool servers);
Future<void> ConfigureConnections(String onion, bool listen, bool peers, bool servers);
}

View File

@ -1102,7 +1102,7 @@ class CwtchFfi implements Cwtch {
}
@override
void ConfigureConnections(String profile, bool listen, bool peers, bool servers) {
Future<void> ConfigureConnections(String profile, bool listen, bool peers, bool servers) async {
var configureConnections = library.lookup<NativeFunction<void_from_string_bool_bool_bool>>("c_ConfigureConnections");
// ignore: non_constant_identifier_names
final ConfigureConnections = configureConnections.asFunction<VoidFromStringBoolBoolBool>();

View File

@ -460,7 +460,8 @@ class CwtchGomobile implements Cwtch {
}
@override
void ConfigureConnections(String profile, bool listen, bool peers, bool servers) {
Future<void> ConfigureConnections(String profile, bool listen, bool peers, bool servers) async {
cwtchPlatform.invokeMethod("ConfigureConnections", {"ProfileOnion": profile, "listen": listen, "peers": peers, "servers": servers});
return;
}
}