mirror of
https://github.com/KokaKiwi/BarInsta
synced 2026-03-05 20:11:36 +00:00
layout adjustments
This commit is contained in:
parent
a6c2356435
commit
8c9a9b39e7
7 changed files with 36 additions and 26 deletions
|
|
@ -105,6 +105,7 @@ public final class StoryViewer extends BaseLanguageActivity {
|
|||
private String url, username;
|
||||
private int slidePos = 0, lastSlidePos = 0;
|
||||
private final String cookie = settingsHelper.getString(Constants.COOKIE);
|
||||
private boolean fetching = false;
|
||||
|
||||
@Override
|
||||
protected void onCreate(@Nullable final Bundle savedInstanceState) {
|
||||
|
|
@ -152,7 +153,6 @@ public final class StoryViewer extends BaseLanguageActivity {
|
|||
if ((isRightSwipe == true && index == 0) || (isRightSwipe == false && index == storyFeed.length - 1))
|
||||
Toast.makeText(getApplicationContext(), R.string.no_more_stories, Toast.LENGTH_SHORT).show();
|
||||
else {
|
||||
boolean fetching = false;
|
||||
final FeedStoryModel feedStoryModel = isRightSwipe ?
|
||||
(index == 0 ? null : storyFeed[index - 1]) :
|
||||
(storyFeed.length == index + 1 ? null : storyFeed[index + 1]);
|
||||
|
|
@ -728,7 +728,7 @@ final String url = "https://www.instagram.com/stories/reel/seen";
|
|||
protected Void doInBackground(String... rawAction) {
|
||||
final String action = rawAction[0];
|
||||
final String url = "https://i.instagram.com/api/v1/direct_v2/create_group_thread/";
|
||||
try {
|
||||
try {
|
||||
final HttpURLConnection urlConnection = (HttpURLConnection) new URL(url).openConnection();
|
||||
urlConnection.setRequestMethod("POST");
|
||||
urlConnection.setRequestProperty("User-Agent", Constants.I_USER_AGENT);
|
||||
|
|
|
|||
|
|
@ -27,9 +27,7 @@ import awais.instagrabber.R;
|
|||
public final class RemixDrawerLayout extends MouseDrawer implements MouseDrawer.DrawerListener {
|
||||
private final FrameLayout frameLayout;
|
||||
private View drawerView;
|
||||
private RecyclerView highlightsList;
|
||||
private RecyclerView feedPosts;
|
||||
private RecyclerView feedStories;
|
||||
private RecyclerView highlightsList, feedPosts, feedStories;
|
||||
private float startX;
|
||||
|
||||
public RemixDrawerLayout(@NonNull final Context context) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue