Merge pull request #222 from HabitRPG/validation-without-party

Validation when user is not in a party. Fixes #212
This commit is contained in:
Phillip Thelen 2015-12-13 16:05:13 +01:00
commit 8916503b54

View file

@ -55,6 +55,7 @@ public class PartyFragment extends BaseFragment {
.setMessage(activity.getString(R.string.no_party_message))
.setNeutralButton(android.R.string.ok, new DialogInterface.OnClickListener() {
public void onClick(DialogInterface dialog, int which) {
activity.getSupportFragmentManager().popBackStackImmediate();
}
});
builder.show();