diff --git a/src/bitmessagekivy/mpybit.py b/src/bitmessagekivy/mpybit.py index 1d4f7178..28321e01 100644 --- a/src/bitmessagekivy/mpybit.py +++ b/src/bitmessagekivy/mpybit.py @@ -407,11 +407,15 @@ class NewIdentity(Screen): class SearchBar(TextInput, ActionItem): + """Create SearchBar for PyBitmessage.""" + def __init__(self, *args, **kwargs): + """Initailizes SearchBar with hint text.""" super(SearchBar, self).__init__(*args, **kwargs) self.hint_text = 'Search' def search(self): + """Search for message request.""" request = self.text return str(request)