Skip to content

Commit

Permalink
about: NullPointerException fixed (fixes #320) (#322)
Browse files Browse the repository at this point in the history
  • Loading branch information
rrijal53 authored and dogi committed Jun 17, 2019
1 parent 3208bcf commit 64aa3ff
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 5 deletions.
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
package io.treehouses.remote.Fragments;
import android.app.Fragment;
import android.content.Intent;
import android.net.Uri;
import android.os.Bundle;
import android.text.Html;
import android.text.method.LinkMovementMethod;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
Expand All @@ -26,7 +23,7 @@ public AboutFragment(){}
@Override
public View onCreateView(LayoutInflater inflater, ViewGroup container,
Bundle savedInstanceState) {
view = inflater.inflate(R.layout.activity_about_fragment, container, false);
view = inflater.inflate(R.layout.fragment_about, container, false);
Button gitHub = view.findViewById(R.id.btn_github);
Button images = view.findViewById(R.id.btn_image);
Button gitter = view.findViewById(R.id.btn_gitter);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
app:layout_constraintTop_toBottomOf="@+id/imageView2" />

<TextView
android:id="@+id/textView2"
android:id="@+id/tv_copyright"
android:layout_width="334dp"
android:layout_height="30dp"
android:layout_marginStart="8dp"
Expand Down
File renamed without changes.

0 comments on commit 64aa3ff

Please sign in to comment.