Resolved conflicts.

This commit is contained in:
Niels Zwemmer
2017-06-23 20:39:57 +02:00
2 changed files with 3 additions and 1 deletions

View File

@@ -113,6 +113,7 @@ public class MainActivity extends AppCompatActivity implements CameraFragment.On
FragmentManager man = getFragmentManager();
ProfileFragment frag = (ProfileFragment) man.findFragmentById(R.id.content);
FragmentTransaction transaction = man.beginTransaction();
frag.progressDialog.dismiss();
transaction.detach(frag)
.attach(frag)
.commit();

View File

@@ -42,7 +42,8 @@ public class ProfileFragment extends Fragment implements View.OnClickListener {
protected TextView profileName;
protected ImageView profilePicture;
protected FirebaseUser user;
private ProgressDialog progressDialog;
ProgressDialog progressDialog;
/// Required empty public constructor ///