aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/java/com/example/wiimmterfaceandroid/wiimmfi
diff options
context:
space:
mode:
authorBryson Steck <steck.bryson@gmail.com>2021-05-05 00:01:19 -0600
committerBryson Steck <steck.bryson@gmail.com>2021-05-05 00:01:19 -0600
commit8a2c211fa2e334b7646d0b9523e1b62743d9dd96 (patch)
treea0ee4ac5720cadf7ffda60dcd7f6d225a2b79325 /app/src/main/java/com/example/wiimmterfaceandroid/wiimmfi
parentb202760cdc2b443fd07dcee593ed7f3e09d6b77b (diff)
downloadwiimmfi-watcher-8a2c211fa2e334b7646d0b9523e1b62743d9dd96.tar
wiimmfi-watcher-8a2c211fa2e334b7646d0b9523e1b62743d9dd96.tar.gz
wiimmfi-watcher-8a2c211fa2e334b7646d0b9523e1b62743d9dd96.tar.bz2
finished final project
Diffstat (limited to 'app/src/main/java/com/example/wiimmterfaceandroid/wiimmfi')
-rw-r--r--app/src/main/java/com/example/wiimmterfaceandroid/wiimmfi/RoomFragment.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/src/main/java/com/example/wiimmterfaceandroid/wiimmfi/RoomFragment.java b/app/src/main/java/com/example/wiimmterfaceandroid/wiimmfi/RoomFragment.java
index e72e38a..463c635 100644
--- a/app/src/main/java/com/example/wiimmterfaceandroid/wiimmfi/RoomFragment.java
+++ b/app/src/main/java/com/example/wiimmterfaceandroid/wiimmfi/RoomFragment.java
@@ -36,7 +36,7 @@ public class RoomFragment extends Fragment {
super.onViewCreated(view, savedInstanceState);
FloatingActionButton refreshButton = view.findViewById(R.id.refresh_button);
TextView headerTextView = view.findViewById(R.id.room_header_text);
- if (players == null) {
+ if (header == null) {
header = "This player is not online, not inside a room or does not exist. Click the refresh button to try again, or click on the back button to enter a different friend code.";
}
headerTextView.setText(header);