remove LibStub

Leandro Silva [03-19-20 - 09:43]
remove LibStub
Filename
LeoAltholic.lua
LeoAltholic.txt
Settings.lua
diff --git a/LeoAltholic.lua b/LeoAltholic.lua
index 890848f..91e60c5 100644
--- a/LeoAltholic.lua
+++ b/LeoAltholic.lua
@@ -1211,7 +1211,6 @@ end

 local function initialize()

-    local LibFeedback = LibStub:GetLibrary("LibFeedback")
     local showButton, feedbackWindow = LibFeedback:initializeFeedbackWindow(LeoAltholic,
         LeoAltholic.name,LeoAltholicWindow, "@LeandroSilva",
         {TOPRIGHT, LeoAltholicWindow, TOPRIGHT,-50,3},
diff --git a/LeoAltholic.txt b/LeoAltholic.txt
index 62d60a3..bf18473 100644
--- a/LeoAltholic.txt
+++ b/LeoAltholic.txt
@@ -1,10 +1,10 @@
 ## Title: Leo's Altholic
 ## APIVersion: 100029 100030
-## Version: 1.7.7
-## AddOnVersion: 177
+## Version: 1.7.8
+## AddOnVersion: 178
 ## Author: |c39B027@LeandroSilva|r
 ## SavedVariables: LeoAltholicSavedVariables LeoAltholicCharVariables
-## DependsOn: LibStub LibFeedback LibAddonMenu-2.0
+## DependsOn: LibFeedback LibAddonMenu-2.0

 Lang\en.lua
 Lang\$(language).lua
diff --git a/Settings.lua b/Settings.lua
index db69e1e..3ae1af9 100644
--- a/Settings.lua
+++ b/Settings.lua
@@ -1,6 +1,6 @@

 LeoAltholic_Settings = ZO_Object:Subclass()
-local LAM = LibStub("LibAddonMenu-2.0")
+local LAM = LibAddonMenu2

 function LeoAltholic_Settings:New(...)
     local object = ZO_Object.New(self)