[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [snowflake-mobile/master] Renamed a fragment
commit c5b31d6c84f59c481ef0450dd1e526816cdb8ae7
Author: Hashik Donthineni <HashikDonthineni@xxxxxxxxx>
Date: Wed Aug 5 15:09:19 2020 +0530
Renamed a fragment
---
app/src/main/java/org/torproject/snowflake/fragments/MainFragment.java | 2 +-
.../main/res/layout/{fragment_main_fragment.xml => fragment_main.xml} | 0
2 files changed, 1 insertion(+), 1 deletion(-)
diff --git a/app/src/main/java/org/torproject/snowflake/fragments/MainFragment.java b/app/src/main/java/org/torproject/snowflake/fragments/MainFragment.java
index 7615d97..7638b1c 100644
--- a/app/src/main/java/org/torproject/snowflake/fragments/MainFragment.java
+++ b/app/src/main/java/org/torproject/snowflake/fragments/MainFragment.java
@@ -50,7 +50,7 @@ public class MainFragment extends Fragment {
@Override
public View onCreateView(LayoutInflater inflater, ViewGroup container,
Bundle savedInstanceState) {
- View rootView = inflater.inflate(R.layout.fragment_main_fragment, container, false);
+ View rootView = inflater.inflate(R.layout.fragment_main, container, false);
usersServedTV = rootView.findViewById(R.id.users_served);
Button startButton = rootView.findViewById(R.id.start_button);
diff --git a/app/src/main/res/layout/fragment_main_fragment.xml b/app/src/main/res/layout/fragment_main.xml
similarity index 100%
rename from app/src/main/res/layout/fragment_main_fragment.xml
rename to app/src/main/res/layout/fragment_main.xml
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits