Skip to content

Commit aa54f3c

Browse files
authored
fix: localcache (#23)
* #8685nf32p trying to clear cached prefs * fix: #8685nf32p minor android fix
1 parent dd18dba commit aa54f3c

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

android/src/main/java/com/resgrid/plugins/resgrid/ResgridPlugin.kt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,8 @@ class ResgridPlugin : Plugin() {
7373

7474
@PluginMethod
7575
public fun start(call: PluginCall) {
76-
76+
configData = ConfigData()
77+
7778
val context: Context = activity.applicationContext;
7879
val activity: Activity = activity;
7980

ios/Plugin/Views/RoomContextView.swift

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,13 @@ struct RoomContextView: View {
3030
.joined(separator: " ")
3131
}
3232

33-
return "LiveKit"
33+
return "Resgrid Voice"
3434
}
3535

3636
init(viewModel: ConfigModel) {
3737
self._viewModel = StateObject(wrappedValue: viewModel)
38+
sync.value = Preferences()
39+
sync.sync()
3840
}
3941

4042
var body: some View {

0 commit comments

Comments
 (0)