mirror of
https://github.com/ArcaneChat/android.git
synced 2026-07-03 14:05:24 +02:00
let DcHelper.getContext() return the derived context object to access eg. DcEventCenter
This commit is contained in:
@@ -22,7 +22,7 @@ public class DcHelper {
|
||||
private static final String CONFIG_SELF_STATUS = "selfstatus";
|
||||
private static final String CONFIG_E2EE_ENABLED = "e2ee_enabled";
|
||||
|
||||
public static DcContext getContext(Context context) {
|
||||
public static ApplicationDcContext getContext(Context context) {
|
||||
return ApplicationContext.getInstance(context).dcContext;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user