This commit is contained in:
amsyarasyiq 2023-03-27 08:03:42 +00:00
parent 73332311e0
commit 2c87288e3b
2 changed files with 2 additions and 2 deletions

View file

@ -1 +1 @@
(function(u,i,r){"use strict";function d(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}function l(e,n){for(var a=0;a<n.length;a++){var t=n[a];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(e,t.key,t)}}function c(e,n,a){return n&&l(e.prototype,n),a&&l(e,a),e}let o;const f=r.findByDisplayName("ChatInput");var g=new(function(){function e(){d(this,e)}return c(e,[{key:"onLoad",value:function(){i.logger.log("Starting HideGiftButton..."),o=f.defaultProps.hideGiftButton,f.defaultProps.hideGiftButton=!0}},{key:"onUnload",value:function(){i.logger.log("Unloading HideGiftButton.."),f.defaultProps.hideGiftButton=o}}]),e}());return u.default=g,Object.defineProperty(u,"__esModule",{value:!0}),u})({},vendetta,vendetta.metro);
(function(u,f,l){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function d(e,t,n){return t&&o(e.prototype,t),n&&o(e,n),e}function c(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const a=l.find(function(e){return typeof e?.defaultProps?.hideGiftButton=="boolean"});var g=new(function(){function e(){r(this,e),c(this,"origState",void 0)}return d(e,[{key:"onLoad",value:function(){f.logger.log("Starting HideGiftButton..."),this.origState=a.defaultProps.hideGiftButton,a.defaultProps.hideGiftButton=!0}},{key:"onUnload",value:function(){f.logger.log("Unloading HideGiftButton.."),a.defaultProps.hideGiftButton=this.origState}}]),e}());return u.default=g,Object.defineProperty(u,"__esModule",{value:!0}),u})({},vendetta,vendetta.metro);

View file

@ -1 +1 @@
{"name":"HideGiftButton","description":"Hides the gift button in the chat input.","authors":[{"name":"amsyarasyiq","id":"492949202121261067"}],"main":"index.js","vendetta":{"icon":"ic_gift_24px"},"hash":"cbf5fd2f63e6ba2ff62b3188745eb5304a15abad58daa34db1c54dee213c4e88"}
{"name":"HideGiftButton","description":"Hides the gift button in the chat input.","authors":[{"name":"amsyarasyiq","id":"492949202121261067"}],"main":"index.js","vendetta":{"icon":"ic_gift_24px"},"hash":"84d69498f3f32a88be529c167e8dfe7d57217ba88f492ba3adb95f5124d736c6"}