diff options
author | Alex Ning <chineseperson5@gmail.com> | 2019-08-09 02:38:25 +0000 |
---|---|---|
committer | Alex Ning <chineseperson5@gmail.com> | 2019-08-09 02:38:25 +0000 |
commit | d408a47dba6e1fa867fb7353fd70044bc7cac777 (patch) | |
tree | 5316800c8b16c4c8d1a26cfc054f738ed9ae788b /app/src/main/res | |
parent | 85597a82d065374955153c0481663fac2b0c3264 (diff) | |
download | infinity-for-reddit-d408a47dba6e1fa867fb7353fd70044bc7cac777.tar infinity-for-reddit-d408a47dba6e1fa867fb7353fd70044bc7cac777.tar.gz infinity-for-reddit-d408a47dba6e1fa867fb7353fd70044bc7cac777.tar.bz2 infinity-for-reddit-d408a47dba6e1fa867fb7353fd70044bc7cac777.tar.lz infinity-for-reddit-d408a47dba6e1fa867fb7353fd70044bc7cac777.tar.xz infinity-for-reddit-d408a47dba6e1fa867fb7353fd70044bc7cac777.tar.zst infinity-for-reddit-d408a47dba6e1fa867fb7353fd70044bc7cac777.zip |
Fixed no posts, no comments, no users and no subreddits message cannot be retained after orientation change in PostFragment, CommentsListingFragment, UserListingFragment and SubredditListingFragment respectively. Minor bugs fixed.
Diffstat (limited to 'app/src/main/res')
-rw-r--r-- | app/src/main/res/layout/fragment_followed_users_listing.xml | 3 | ||||
-rw-r--r-- | app/src/main/res/layout/fragment_subscribed_subreddits_listing.xml | 2 | ||||
-rw-r--r-- | app/src/main/res/values/strings.xml | 7 |
3 files changed, 7 insertions, 5 deletions
diff --git a/app/src/main/res/layout/fragment_followed_users_listing.xml b/app/src/main/res/layout/fragment_followed_users_listing.xml index be07b5e7..c7e33729 100644 --- a/app/src/main/res/layout/fragment_followed_users_listing.xml +++ b/app/src/main/res/layout/fragment_followed_users_listing.xml @@ -27,7 +27,8 @@ android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginTop="16dp" - android:gravity="center" /> + android:gravity="center" + android:text="@string/no_users" /> </LinearLayout> diff --git a/app/src/main/res/layout/fragment_subscribed_subreddits_listing.xml b/app/src/main/res/layout/fragment_subscribed_subreddits_listing.xml index ccf44e0b..2263dd7c 100644 --- a/app/src/main/res/layout/fragment_subscribed_subreddits_listing.xml +++ b/app/src/main/res/layout/fragment_subscribed_subreddits_listing.xml @@ -28,7 +28,7 @@ android:layout_height="wrap_content" android:layout_marginTop="16dp" android:gravity="center" - android:text="@string/no_subreddits"/> + android:text="@string/no_subreddits" /> </LinearLayout> diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 062c13fc..1234b405 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -35,9 +35,10 @@ <string name="load_posts_error">Error loading posts.\nTap to retry.</string> <string name="search_subreddits_error">Error searching subreddits.\nTap to retry.</string> <string name="search_users_error">Error searching users.\nTap to retry.</string> - <string name="no_posts">No posts found.</string> - <string name="no_subreddits">No subreddits found.</string> - <string name="no_users">No users found.</string> + <string name="no_posts">No posts found</string> + <string name="no_comments">No comments found</string> + <string name="no_subreddits">No subreddits found</string> + <string name="no_users">No users found</string> <string name="no_storage_permission">No storage permission to save this file</string> <string name="load_comments_failed">Error loading comments.</string> |