Fix: reload timeline

This commit is contained in:
localhost_frssoft 2022-04-12 01:05:58 +03:00
parent c11c139eec
commit fd21b04bc1

View file

@ -90,16 +90,17 @@ timeline_menu()
indexator=$(expr $indexator - 1) indexator=$(expr $indexator - 1)
echo '_____' echo '_____'
done done
indexator=$(expr $max_statuses - 1)
menu=$(echo 'Prev\nNext\nShare\nMain menu' | fzy) menu=$(echo 'Prev\nNext\nShare\nMain menu' | fzy)
case $menu in case $menu in
"Prev") "Prev")
indexator=$(expr $max_statuses - 1)
echo '#EXTM3U' > attachments.m3u8 echo '#EXTM3U' > attachments.m3u8
clear clear
offset=$(jj -i preload 39.id) offset=$(jj -i preload 39.id)
json=$(timeline_api $offset) json=$(timeline_api $offset)
;; ;;
"Next") "Next")
indexator=$(expr $max_statuses - 1)
echo '#EXTM3U' > attachments.m3u8 echo '#EXTM3U' > attachments.m3u8
clear clear
offset=$(jj -i preload 0.id) offset=$(jj -i preload 0.id)