mirror of
https://github.com/AlienMajik/pwnagotchi_plugins.git
synced 2025-07-01 10:27:27 -04:00
Update age.py
Changed Stat to ReP
This commit is contained in:
8
age.py
8
age.py
@ -61,10 +61,10 @@ class Age(plugins.Plugin):
|
||||
label_font=fonts.Bold,
|
||||
text_font=fonts.Medium
|
||||
))
|
||||
# Changed from 'Stars' to 'Stat'
|
||||
ui.add_element('Stat', LabeledValue(
|
||||
# Changed from 'Stat' to 'ReP'
|
||||
ui.add_element('ReP', LabeledValue(
|
||||
color=BLACK,
|
||||
label='Stat',
|
||||
label='ReP',
|
||||
value=self.get_star_string(),
|
||||
position=(int(self.options.get("stars_x_coord", 10)), int(self.options.get("stars_y_coord", 120))),
|
||||
label_font=fonts.Bold,
|
||||
@ -76,7 +76,7 @@ class Age(plugins.Plugin):
|
||||
ui.remove_element('Age')
|
||||
ui.remove_element('Strength')
|
||||
ui.remove_element('Points')
|
||||
ui.remove_element('Stat') # changed from 'Stars'
|
||||
ui.remove_element('ReP') # changed from 'Stars'
|
||||
self.save_data()
|
||||
|
||||
def on_ui_update(self, ui):
|
||||
|
Reference in New Issue
Block a user