diff options
author | Alex Ning <chineseperson5@gmail.com> | 2019-08-30 08:22:41 +0000 |
---|---|---|
committer | Alex Ning <chineseperson5@gmail.com> | 2019-08-30 08:22:41 +0000 |
commit | b34fcf1c6d44950c0c714cdfdab65b760744f890 (patch) | |
tree | 5e8e76af189f5981c691ecd71ebf4b7c452232e6 /app/src/main/res | |
parent | e3d672f395b2f1ecf73ade613f38ad5de9416bac (diff) | |
download | infinity-for-reddit-b34fcf1c6d44950c0c714cdfdab65b760744f890.tar infinity-for-reddit-b34fcf1c6d44950c0c714cdfdab65b760744f890.tar.gz infinity-for-reddit-b34fcf1c6d44950c0c714cdfdab65b760744f890.tar.bz2 infinity-for-reddit-b34fcf1c6d44950c0c714cdfdab65b760744f890.tar.lz infinity-for-reddit-b34fcf1c6d44950c0c714cdfdab65b760744f890.tar.xz infinity-for-reddit-b34fcf1c6d44950c0c714cdfdab65b760744f890.tar.zst infinity-for-reddit-b34fcf1c6d44950c0c714cdfdab65b760744f890.zip |
Lazy mode is available in FilteredThingActivity. Fixed a bug related to lazy mode. Fixed several bugs in ViewModels. Minor bugs fixed.
Diffstat (limited to 'app/src/main/res')
-rw-r--r-- | app/src/main/res/layout/activity_filtered_thing.xml (renamed from app/src/main/res/layout/activity_filtered_posts.xml) | 1 | ||||
-rw-r--r-- | app/src/main/res/menu/filtered_posts_activity.xml | 10 | ||||
-rw-r--r-- | app/src/main/res/values/strings.xml | 2 |
3 files changed, 10 insertions, 3 deletions
diff --git a/app/src/main/res/layout/activity_filtered_posts.xml b/app/src/main/res/layout/activity_filtered_thing.xml index b4065444..9d0cf259 100644 --- a/app/src/main/res/layout/activity_filtered_posts.xml +++ b/app/src/main/res/layout/activity_filtered_thing.xml @@ -13,6 +13,7 @@ android:theme="@style/AppTheme.AppBarOverlay"> <com.google.android.material.appbar.CollapsingToolbarLayout + android:id="@+id/collapsing_toolbar_layout_filtered_posts_activity" android:layout_width="match_parent" android:layout_height="match_parent" app:layout_scrollFlags="scroll|enterAlways" diff --git a/app/src/main/res/menu/filtered_posts_activity.xml b/app/src/main/res/menu/filtered_posts_activity.xml index ca53ec6c..d918f896 100644 --- a/app/src/main/res/menu/filtered_posts_activity.xml +++ b/app/src/main/res/menu/filtered_posts_activity.xml @@ -2,16 +2,22 @@ <menu xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto"> <item - android:id="@+id/action_sort_filtered_posts_activity" + android:id="@+id/action_sort_filtered_thing_activity" android:orderInCategory="1" android:title="@string/action_sort" android:icon="@drawable/ic_outline_sort_24px" app:showAsAction="ifRoom" /> <item - android:id="@+id/action_refresh_filtered_posts_activity" + android:id="@+id/action_refresh_filtered_thing_activity" android:orderInCategory="2" android:title="@string/action_refresh" android:icon="@drawable/ic_search_white_24dp" app:showAsAction="never" /> + + <item + android:id="@+id/action_lazy_mode_filtered_thing_activity" + android:orderInCategory="3" + android:title="@string/action_start_lazy_mode" + app:showAsAction="never" /> </menu>
\ No newline at end of file diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 0eb7335c..b4d561b3 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -62,7 +62,7 @@ <string name="vote_failed">Vote failed</string> <string name="refresh_post_failed">Error refreshing the post</string> - <string name="load_messages_failed">Error loading messages</string> + <string name="load_messages_failed">Error loading messages.\nTap to retry.</string> <string name="no_messages">Empty</string> <string name="nsfw">NSFW</string> |