Skip to content

Commit

Permalink
Format files
Browse files Browse the repository at this point in the history
  • Loading branch information
rdbende committed Dec 9, 2023
1 parent eed3e55 commit 22852e7
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
12 changes: 6 additions & 6 deletions cozy/ui/headerbar.py
Original file line number Diff line number Diff line change
@@ -1,17 +1,15 @@
import logging

import gi
from gi.repository import Adw, Gtk

from cozy.ext import inject
from cozy.ui.widgets.progress_popover import ProgressPopover
from cozy.view_model.headerbar_view_model import HeaderbarViewModel, HeaderBarState

from gi.repository import Adw, Gtk, GObject
from cozy.view_model.headerbar_view_model import HeaderBarState, HeaderbarViewModel

log = logging.getLogger("Headerbar")


@Gtk.Template.from_resource('/com/github/geigi/cozy/headerbar.ui')
@Gtk.Template.from_resource("/com/github/geigi/cozy/headerbar.ui")
class Headerbar(Gtk.Box):
__gtype_name__ = "Headerbar"

Expand All @@ -35,7 +33,9 @@ def __init__(self, main_window_builder: Gtk.Builder):
self.header_container: Adw.ToolbarView = main_window_builder.get_object("header_container")
self.header_container.add_top_bar(self)

self.mobile_view_switcher: Adw.ViewSwitcherBar = main_window_builder.get_object("mobile_view_switcher")
self.mobile_view_switcher: Adw.ViewSwitcherBar = main_window_builder.get_object(
"mobile_view_switcher"
)
self.split_view: Adw.OverlaySplitView = main_window_builder.get_object("split_view")

self.sort_stack: Adw.ViewStack = main_window_builder.get_object("sort_stack")
Expand Down
2 changes: 1 addition & 1 deletion cozy/ui/search_view.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@

from cozy.ext import inject
from cozy.model.book import Book
from cozy.ui.headerbar import Headerbar
from cozy.ui.widgets.book_row import BookRow
from cozy.ui.widgets.search_results import ArtistResultRow
from cozy.view_model.search_view_model import SearchViewModel
from cozy.ui.headerbar import Headerbar


@Gtk.Template.from_resource("/com/github/geigi/cozy/search_page.ui")
Expand Down

0 comments on commit 22852e7

Please sign in to comment.