Added message to support dialog
This commit is contained in:
parent
42af75d8d2
commit
ca10369bdc
@ -399,6 +399,8 @@ def support_response(self, dialog, task):
|
||||
elif res == 'support':
|
||||
self.show_toast(_("Thank you!"), self.main_overlay)
|
||||
os.system('xdg-open https://github.com/sponsors/Jeffser')
|
||||
elif res == 'nope':
|
||||
self.show_toast(_("Visit Alpaca's website if you change your mind!"), self.main_overlay)
|
||||
self.show_support = False
|
||||
self.save_server_config()
|
||||
|
||||
|
@ -1604,7 +1604,7 @@ Generate a title following these rules:
|
||||
|
||||
#Support dialog
|
||||
if 'show_support' not in data or data['show_support']:
|
||||
if random.randint(0, 49) == 0:
|
||||
if random.randint(0, 49) == 0 or True:
|
||||
dialogs.support(self)
|
||||
if 'show_support' in data: self.show_support = data['show_support']
|
||||
self.background_switch.set_active(self.run_on_background)
|
||||
|
Loading…
x
Reference in New Issue
Block a user