From 3feee882c644d1e30935989de844d990b3625a6d Mon Sep 17 00:00:00 2001 From: Alex Ning Date: Wed, 1 Apr 2020 20:12:27 +0800 Subject: Fix database migration issue. --- .../ml/docilealligator/infinityforreddit/RedditDataRoomDatabase.java | 3 +-- app/src/main/res/menu/create_multi_reddit_activity.xml | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) (limited to 'app') diff --git a/app/src/main/java/ml/docilealligator/infinityforreddit/RedditDataRoomDatabase.java b/app/src/main/java/ml/docilealligator/infinityforreddit/RedditDataRoomDatabase.java index 0225d14a..d9d9f393 100644 --- a/app/src/main/java/ml/docilealligator/infinityforreddit/RedditDataRoomDatabase.java +++ b/app/src/main/java/ml/docilealligator/infinityforreddit/RedditDataRoomDatabase.java @@ -143,8 +143,7 @@ public abstract class RedditDataRoomDatabase extends RoomDatabase { "crosspost_icon_tint INTEGER NOT NULL, stickied_post_icon_tint INTEGER NOT NULL, subscribed INTEGER NOT NULL," + "unsubscribed INTEGER NOT NULL, username INTEGER NOT NULL, subreddit INTEGER NOT NULL," + "author_flair_text_color INTEGER NOT NULL, submitter INTEGER NOT NULL," + - "moderator INTEGER NOT NULL, notification_icon_color INTEGER NOT NULL," + - "single_comment_thread_background_color INTEGER NOT NULL," + + "moderator INTEGER NOT NULL, single_comment_thread_background_color INTEGER NOT NULL," + "unread_message_background_color INTEGER NOT NULL, divider_color INTEGER NOT NULL," + "no_preview_link_background_color INTEGER NOT NULL," + "vote_and_reply_unavailable_button_color INTEGER NOT NULL," + diff --git a/app/src/main/res/menu/create_multi_reddit_activity.xml b/app/src/main/res/menu/create_multi_reddit_activity.xml index 93c89cab..bf151fe6 100644 --- a/app/src/main/res/menu/create_multi_reddit_activity.xml +++ b/app/src/main/res/menu/create_multi_reddit_activity.xml @@ -5,6 +5,6 @@ android:id="@+id/action_create_create_multi_reddit_activity" android:orderInCategory="1" android:title="@string/action_send" - android:icon="@drawable/ic_add_24dp" + android:icon="@drawable/ic_add_day_night_24dp" app:showAsAction="ifRoom" /> \ No newline at end of file -- cgit v1.2.3