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)
echo '_____'
done
indexator=$(expr $max_statuses - 1)
menu=$(echo 'Prev\nNext\nShare\nMain menu' | fzy)
case $menu in
"Prev")
indexator=$(expr $max_statuses - 1)
echo '#EXTM3U' > attachments.m3u8
clear
offset=$(jj -i preload 39.id)
json=$(timeline_api $offset)
;;
"Next")
indexator=$(expr $max_statuses - 1)
echo '#EXTM3U' > attachments.m3u8
clear
offset=$(jj -i preload 0.id)