Skip to content

Commit 6738768

Browse files
committed
Moved main kv
1 parent 3309048 commit 6738768

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

python_password/PyPassword.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
from cryptography.hazmat.primitives import hashes
1111
from cryptography.hazmat.primitives.kdf.pbkdf2 import PBKDF2HMAC
1212
from kivy import Config
13+
from kivy.lang import Builder
1314
from kivy.properties import ObjectProperty
1415
from kivy.uix.boxlayout import BoxLayout
1516
from kivymd.app import MDApp
@@ -92,6 +93,7 @@ def build(self):
9293
# Change theme (light/dark)
9394
self.theme_cls.theme_style = 'Light'
9495
Logger.info(f'Application: Theme style set to {self.theme_cls.theme_style}')
96+
return Builder.load_file(file('PyPassword.kv', 'p'))
9597

9698
def on_start(self):
9799
self.update_passwords()
File renamed without changes.

0 commit comments

Comments
 (0)