diff --git a/app/src/main/java/awais/instagrabber/fragments/CommentsViewerFragment.java b/app/src/main/java/awais/instagrabber/fragments/CommentsViewerFragment.java index 37be0268..c716c989 100644 --- a/app/src/main/java/awais/instagrabber/fragments/CommentsViewerFragment.java +++ b/app/src/main/java/awais/instagrabber/fragments/CommentsViewerFragment.java @@ -250,8 +250,8 @@ public final class CommentsViewerFragment extends BottomSheetDialogFragment impl commentDialogList = new String[]{ resources.getString(R.string.open_profile), resources.getString(R.string.view_pfp), - resources.getString(R.string.comment_viewer_copy_user), - // resources.getString(R.string.comment_viewer_copy_comment), +// resources.getString(R.string.comment_viewer_copy_user), + resources.getString(R.string.comment_viewer_copy_comment), resources.getString(R.string.comment_viewer_reply_comment), commentModel.getLiked() ? resources.getString(R.string.comment_viewer_unlike_comment) : resources.getString(R.string.comment_viewer_like_comment), @@ -261,8 +261,8 @@ public final class CommentsViewerFragment extends BottomSheetDialogFragment impl commentDialogList = new String[]{ resources.getString(R.string.open_profile), resources.getString(R.string.view_pfp), - resources.getString(R.string.comment_viewer_copy_user), - // resources.getString(R.string.comment_viewer_copy_comment), +// resources.getString(R.string.comment_viewer_copy_user), + resources.getString(R.string.comment_viewer_copy_comment), resources.getString(R.string.comment_viewer_reply_comment), commentModel.getLiked() ? resources.getString(R.string.comment_viewer_unlike_comment) : resources.getString(R.string.comment_viewer_like_comment), @@ -271,8 +271,8 @@ public final class CommentsViewerFragment extends BottomSheetDialogFragment impl commentDialogList = new String[]{ resources.getString(R.string.open_profile), resources.getString(R.string.view_pfp), - resources.getString(R.string.comment_viewer_copy_user), - // resources.getString(R.string.comment_viewer_copy_comment) +// resources.getString(R.string.comment_viewer_copy_user), + resources.getString(R.string.comment_viewer_copy_comment) }; } final Context context = getContext(); @@ -294,12 +294,12 @@ public final class CommentsViewerFragment extends BottomSheetDialogFragment impl .add(fragment, "profilePicDialog") .commit(); break; - case 2: // copy username - Utils.copyText(context, profileModel.getUsername()); +// case 2: // copy username +// Utils.copyText(context, profileModel.getUsername()); +// break; + case 2: // copy comment + Utils.copyText(context, "@" + profileModel.getUsername() + ": " + commentModel.getText()); break; - // case 3: // copy comment - // Utils.copyText(context, commentModel.getText().toString()); - // break; case 3: // reply to comment // final View focus = binding.rvComments.findViewWithTag(commentModel); // focus.setBackgroundColor(0x80888888); diff --git a/app/src/main/java/awais/instagrabber/utils/Constants.java b/app/src/main/java/awais/instagrabber/utils/Constants.java index 24f6f914..73120ddd 100644 --- a/app/src/main/java/awais/instagrabber/utils/Constants.java +++ b/app/src/main/java/awais/instagrabber/utils/Constants.java @@ -16,8 +16,6 @@ public final class Constants { public static final String FOLDER_SAVE_TO = "saved_to"; public static final String AUTOPLAY_VIDEOS = "autoplay_videos"; public static final String MUTED_VIDEOS = "muted_videos"; - public static final String AUTOLOAD_POSTS = "autoload_posts"; - public static final String SHOW_FEED = "show_feed"; public static final String CUSTOM_DATE_TIME_FORMAT_ENABLED = "data_time_custom_enabled"; public static final String SWAP_DATE_TIME_FORMAT_ENABLED = "swap_date_time_enabled"; public static final String MARK_AS_SEEN = "mark_as_seen"; diff --git a/app/src/main/java/awais/instagrabber/utils/SettingsHelper.java b/app/src/main/java/awais/instagrabber/utils/SettingsHelper.java index e4ec5627..f42c7cd7 100755 --- a/app/src/main/java/awais/instagrabber/utils/SettingsHelper.java +++ b/app/src/main/java/awais/instagrabber/utils/SettingsHelper.java @@ -10,7 +10,6 @@ import androidx.appcompat.app.AppCompatDelegate; import static awais.instagrabber.utils.Constants.APP_LANGUAGE; import static awais.instagrabber.utils.Constants.APP_THEME; -import static awais.instagrabber.utils.Constants.AUTOLOAD_POSTS; import static awais.instagrabber.utils.Constants.AUTOPLAY_VIDEOS; import static awais.instagrabber.utils.Constants.CHECK_ACTIVITY; import static awais.instagrabber.utils.Constants.CHECK_UPDATES; @@ -121,14 +120,14 @@ public final class SettingsHelper { @StringDef( {APP_LANGUAGE, APP_THEME, COOKIE, FOLDER_PATH, DATE_TIME_FORMAT, DATE_TIME_SELECTION, CUSTOM_DATE_TIME_FORMAT, - DEVICE_UUID, SKIPPED_VERSION, DEFAULT_TAB, PREF_DARK_THEME, PREF_LIGHT_THEME, PREF_POSTS_LAYOUT, PREF_PROFILE_POSTS_LAYOUT, - PREF_TOPIC_POSTS_LAYOUT, PREF_HASHTAG_POSTS_LAYOUT, PREF_LOCATION_POSTS_LAYOUT, PREF_LIKED_POSTS_LAYOUT, PREF_TAGGED_POSTS_LAYOUT, - PREF_SAVED_POSTS_LAYOUT}) + DEVICE_UUID, SKIPPED_VERSION, DEFAULT_TAB, PREF_DARK_THEME, PREF_LIGHT_THEME, PREF_POSTS_LAYOUT, + PREF_PROFILE_POSTS_LAYOUT, PREF_TOPIC_POSTS_LAYOUT, PREF_HASHTAG_POSTS_LAYOUT, PREF_LOCATION_POSTS_LAYOUT, + PREF_LIKED_POSTS_LAYOUT, PREF_TAGGED_POSTS_LAYOUT, PREF_SAVED_POSTS_LAYOUT}) public @interface StringSettings {} @StringDef({DOWNLOAD_USER_FOLDER, FOLDER_SAVE_TO, AUTOPLAY_VIDEOS, SHOW_QUICK_ACCESS_DIALOG, MUTED_VIDEOS, - AUTOLOAD_POSTS, CUSTOM_DATE_TIME_FORMAT_ENABLED, MARK_AS_SEEN, DM_MARK_AS_SEEN, INSTADP, - CHECK_ACTIVITY, CHECK_UPDATES, SWAP_DATE_TIME_FORMAT_ENABLED}) + CUSTOM_DATE_TIME_FORMAT_ENABLED, MARK_AS_SEEN, DM_MARK_AS_SEEN, INSTADP, CHECK_ACTIVITY, + CHECK_UPDATES, SWAP_DATE_TIME_FORMAT_ENABLED}) public @interface BooleanSettings {} @StringDef({PREV_INSTALL_VERSION}) diff --git a/app/src/main/res/drawable/ic_fullscreen.xml b/app/src/main/res/drawable/ic_fullscreen.xml deleted file mode 100755 index fefb27a3..00000000 --- a/app/src/main/res/drawable/ic_fullscreen.xml +++ /dev/null @@ -1,10 +0,0 @@ - - - diff --git a/app/src/main/res/drawable/ic_fullscreen_exit.xml b/app/src/main/res/drawable/ic_fullscreen_exit.xml deleted file mode 100755 index ad756976..00000000 --- a/app/src/main/res/drawable/ic_fullscreen_exit.xml +++ /dev/null @@ -1,10 +0,0 @@ - - - diff --git a/app/src/main/res/drawable/ic_import_export.xml b/app/src/main/res/drawable/ic_import_export.xml deleted file mode 100755 index 2249979f..00000000 --- a/app/src/main/res/drawable/ic_import_export.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - diff --git a/app/src/main/res/drawable/ic_outline_star_24.xml b/app/src/main/res/drawable/ic_outline_star_24.xml deleted file mode 100644 index b6d93cac..00000000 --- a/app/src/main/res/drawable/ic_outline_star_24.xml +++ /dev/null @@ -1,10 +0,0 @@ - - - diff --git a/app/src/main/res/drawable/ic_search_black_24dp.xml b/app/src/main/res/drawable/ic_search_black_24dp.xml deleted file mode 100644 index affc7ba2..00000000 --- a/app/src/main/res/drawable/ic_search_black_24dp.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - diff --git a/app/src/main/res/layout/item_full_post_view_bk.xml b/app/src/main/res/layout/item_full_post_view_bk.xml deleted file mode 100644 index 8216b777..00000000 --- a/app/src/main/res/layout/item_full_post_view_bk.xml +++ /dev/null @@ -1,128 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/app/src/main/res/layout/layout_password.xml b/app/src/main/res/layout/layout_password.xml deleted file mode 100755 index 9a04b722..00000000 --- a/app/src/main/res/layout/layout_password.xml +++ /dev/null @@ -1,11 +0,0 @@ - - \ No newline at end of file diff --git a/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml b/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml deleted file mode 100644 index c4a603d4..00000000 --- a/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml +++ /dev/null @@ -1,5 +0,0 @@ - - - - - \ No newline at end of file diff --git a/app/src/main/res/mipmap-hdpi/ic_launcher_round.png b/app/src/main/res/mipmap-hdpi/ic_launcher_round.png deleted file mode 100644 index dc86b243..00000000 Binary files a/app/src/main/res/mipmap-hdpi/ic_launcher_round.png and /dev/null differ diff --git a/app/src/main/res/mipmap-mdpi/ic_launcher_round.png b/app/src/main/res/mipmap-mdpi/ic_launcher_round.png deleted file mode 100644 index 8c12f7d0..00000000 Binary files a/app/src/main/res/mipmap-mdpi/ic_launcher_round.png and /dev/null differ diff --git a/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png b/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png deleted file mode 100644 index 403f552d..00000000 Binary files a/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png and /dev/null differ diff --git a/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png b/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png deleted file mode 100644 index 3f5b10ab..00000000 Binary files a/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png and /dev/null differ diff --git a/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png b/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png deleted file mode 100644 index db9726ee..00000000 Binary files a/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png and /dev/null differ diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 69946394..abc392cf 100755 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -28,12 +28,8 @@ Comments Notifications Highlight: %s - User Story - Changelog - Show toolbar at bottom Check for updates at startup Download posts to username folders - Auto-load all posts from user Mark stories as seen after viewing Story author will know you viewed it Mark DM as seen after viewing @@ -41,13 +37,11 @@ Enable activity notifications Error loading profile!\nTry logging in and search again. Error creating Download folder(s). - Show user feed (Works only when user is logged in) Save to custom folder Select folder Theme Only affects logged-in users: Only affects anonymous users: - Privacy Use Instadp for high definition profile pictures Import/Export Language @@ -55,8 +49,6 @@ %s Posts %s\nFollowers %s\nFollowing - Video post - Image post Autoplay videos Always mute videos Select what to download @@ -92,16 +84,12 @@ Browse Instagram anonymously Remove all accounts This will remove all added accounts from the app!\nTo remove just one account, long tap the account from the account switcher dialog.\nDo you want to continue? - Send Debug Logs Date format - Visit Project Page Liked Saved Tagged Message - Like (%s) Like - Unlike (%s) Unlike Bookmark Unbookmark @@ -140,9 +128,6 @@ Swap Time and Date positions Cannot delete currently in use account Are you sure you want to delete \'%s\'? - Width: %d\nHeight: %d - \nColor depth: - Select profile picture endpoint\n(Does not affect hashtags) Open profile View profile picture You @@ -171,7 +156,7 @@ Blocked Suggested Screenshotted - Cannot delivered + Cannot deliver Great success! Leave Leave this chat? @@ -200,7 +185,6 @@ No empty comments! Do you want to search the username? Do you want to search the hashtag? - Do you want to search the location? Followers Following Comparing followers & following @@ -208,7 +192,6 @@ not following %s %s is not following Error loading cookies - Successfully loaded cookies!\nIf you still can\'t open private pages/posts, re-login! Write a new comment… Write a new message… Liked your post @@ -227,7 +210,6 @@ Thank you for updating Barinsta! App crashed Oops.. the app crashed, but don\'t worry you can send error report to the developer to help him fix the issue. (: - Use AMOLED mode for Dark theme Activity Copyright (C) 2019 AWAiS\nCopyright (C) 2020 Austin Huang, Ammar Githam\nThis program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. See https://www.gnu.org/licenses/. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. @@ -245,8 +227,6 @@ More DM %d selected - Relogin - Refresh your cookies if facing any issues Successfully logged out! Info Mark as seen