Skip to content

Commit

Permalink
2.0.0 - Material Design 3
Browse files Browse the repository at this point in the history
Fix imports.
  • Loading branch information
HeaTTheatR committed Nov 26, 2023
1 parent 98c42c9 commit aacea4c
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 6 deletions.
4 changes: 2 additions & 2 deletions kivymd/uix/appbar/appbar.py
Original file line number Diff line number Diff line change
Expand Up @@ -542,10 +542,10 @@ async def generate_card():
from kivymd.uix.button import MDFabButton, MDIconButton
from kivymd.uix.controllers import WindowController
from kivymd.uix.label import MDLabel

from kivymd.utils import asynckivy
from kivymd.utils.set_bars_colors import set_bars_colors

import asynckivy

with open(
os.path.join(uix_path, "appbar", "appbar.kv"), encoding="utf-8"
) as kv_file:
Expand Down
9 changes: 6 additions & 3 deletions kivymd/uix/chip/chip.py
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,8 @@ def build(self):
from kivymd.uix.list import OneLineIconListItem
from kivymd.icon_definitions import md_icons
from kivymd.uix.screen import MDScreen
from kivymd.utils import asynckivy
import asynckivy
Builder.load_string(
'''
Expand Down Expand Up @@ -371,7 +372,8 @@ def on_start(self) -> None:
from kivymd.app import MDApp
from kivymd.uix.chip import MDChip, MDChipText
from kivymd.uix.screen import MDScreen
from kivymd.utils import asynckivy
import asynckivy
Builder.load_string(
'''
Expand Down Expand Up @@ -456,7 +458,8 @@ def on_start(self) -> None:
from kivymd.app import MDApp
from kivymd.uix.chip import MDChip, MDChipText
from kivymd.uix.screen import MDScreen
from kivymd.utils import asynckivy
import asynckivy
Builder.load_string(
'''
Expand Down
3 changes: 2 additions & 1 deletion kivymd/uix/segmentedbutton/segmentedbutton.py
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,8 @@ def build(self):
from kivymd.app import MDApp
from kivymd.uix.boxlayout import MDBoxLayout
from kivymd.utils import asynckivy
import asynckivy
KV = '''
<UserCard>
Expand Down

0 comments on commit aacea4c

Please sign in to comment.