prevent null pointer exception
This commit is contained in:
parent
ed29302547
commit
3a17ed19c4
|
@ -104,6 +104,7 @@ public class PersistentNotificationPlugin implements PluginBase{
|
||||||
|
|
||||||
|
|
||||||
String line1 = ctx.getString(R.string.noprofile);
|
String line1 = ctx.getString(R.string.noprofile);
|
||||||
|
if (MainApp.getConfigBuilder().getActiveProfile() == null) return;
|
||||||
NSProfile profile = MainApp.getConfigBuilder().getActiveProfile().getProfile();
|
NSProfile profile = MainApp.getConfigBuilder().getActiveProfile().getProfile();
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue