Fix Rule config notice after exit
This commit is contained in:
parent
4ce14c9da9
commit
64f9860899
@ -408,7 +408,9 @@ public class RuleConfigFragment extends ConfigFragment {
|
||||
Logger.logException(e);
|
||||
}
|
||||
|
||||
Snackbar.make(view, R.string.notice_downloaded, Snackbar.LENGTH_SHORT).show();
|
||||
if (view != null) {
|
||||
Snackbar.make(view, R.string.notice_downloaded, Snackbar.LENGTH_SHORT).show();
|
||||
}
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user