New Icons, New Translations, More Complete Profile Menu
This commit is contained in:
parent
fa21a4f719
commit
8ff0cfe5b1
|
@ -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);
|
||||
}
|
||||
|
|
|
@ -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>();
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue