mirror of
https://github.com/ihabunek/toot.git
synced 2024-09-22 04:25:55 -04:00
Updated for compatiblity with latest 0.41.1
This commit is contained in:
parent
b94c500c9c
commit
0536331229
@ -25,7 +25,6 @@ from .timeline import Timeline
|
||||
from .utils import get_max_toot_chars, parse_content_links, copy_to_clipboard, ImageCache
|
||||
from PIL import Image
|
||||
from .widgets import ModalBox
|
||||
>>>>>>> master
|
||||
|
||||
logger = logging.getLogger(__name__)
|
||||
|
||||
@ -43,6 +42,7 @@ class TuiOptions(NamedTuple):
|
||||
cache_size: int
|
||||
default_visibility: Optional[bool]
|
||||
|
||||
|
||||
class Header(urwid.WidgetWrap):
|
||||
def __init__(self, app, user):
|
||||
self.app = app
|
||||
|
@ -160,6 +160,7 @@ class EmojiText(urwid.Padding):
|
||||
column_widget = urwid.Columns(columns, dividechars=1, min_width=2)
|
||||
super().__init__(column_widget)
|
||||
|
||||
|
||||
class ModalBox(urwid.Frame):
|
||||
def __init__(self, message):
|
||||
text = urwid.Text(message)
|
||||
|
Loading…
Reference in New Issue
Block a user