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