Fixed crash

pull/161/head
M66B 5 years ago
parent 701c2d6121
commit 7912139c1d

@ -63,10 +63,11 @@ public class FragmentAnswer extends FragmentBase {
// Get arguments // Get arguments
Bundle args = getArguments(); Bundle args = getArguments();
if (args.getBoolean("copy")) if (args != null)
copy = args.getLong("id", -1); if (args.getBoolean("copy"))
else copy = args.getLong("id", -1);
id = args.getLong("id", -1); else
id = args.getLong("id", -1);
} }
@Override @Override

Loading…
Cancel
Save