Fixed crash

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

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

Loading…
Cancel
Save