Minor Fix

Fix Reset all button
This commit is contained in:
Juned KH 2023-09-13 14:36:32 +05:30
parent eead79a204
commit f95134f733

View File

@ -118,7 +118,8 @@ async def get_user_settings(from_user):
ytopt = YTO
else:
ytopt = 'None'
buttons.ibutton("Reset All", f"userset {user_id} reset")
if user_dict:
buttons.ibutton("Reset All", f"userset {user_id} reset")
buttons.ibutton("Close", f"userset {user_id} close")
text = f"""<u>Settings for {name}</u>