[Update] Resend Message Button: To be store-able the status.
Move to Appearance settings.
This commit is contained in:
@@ -832,6 +832,20 @@ class Controller:
|
||||
config.MESSAGE_BOX_RATIO = data
|
||||
return {"status":200, "result":config.MESSAGE_BOX_RATIO}
|
||||
|
||||
@staticmethod
|
||||
def getShowResendButton(*args, **kwargs) -> dict:
|
||||
return {"status":200, "result":config.SHOW_RESEND_BUTTON}
|
||||
|
||||
@staticmethod
|
||||
def setEnableShowResendButton(*args, **kwargs) -> dict:
|
||||
config.SHOW_RESEND_BUTTON = True
|
||||
return {"status":200, "result":config.SHOW_RESEND_BUTTON}
|
||||
|
||||
@staticmethod
|
||||
def setDisableShowResendButton(*args, **kwargs) -> dict:
|
||||
config.SHOW_RESEND_BUTTON = False
|
||||
return {"status":200, "result":config.SHOW_RESEND_BUTTON}
|
||||
|
||||
@staticmethod
|
||||
def getFontFamily(*args, **kwargs) -> dict:
|
||||
return {"status":200, "result":config.FONT_FAMILY}
|
||||
|
||||
Reference in New Issue
Block a user