Skip to content

Commit 58ef793

Browse files
committed
implement basic theme support, speed up app drawer animation, button effect changes
1 parent 0c27b4a commit 58ef793

File tree

11 files changed

+834
-357
lines changed

11 files changed

+834
-357
lines changed

src/Client/Client/Modules/Admins.luau

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ local function NewCard(RankData: { any }, ParentFrame, IsDummyCard)
128128

129129
if User == nil then break end
130130
if User.MemberType == "User" then
131-
pcall(function()
131+
xpcall(function()
132132
Template.ProfilePictures[i].Visible = true
133133
Template.ProfilePictures[i].Image = Var.Services.Players:GetUserThumbnailAsync(
134134
User.ID,
@@ -137,6 +137,8 @@ local function NewCard(RankData: { any }, ParentFrame, IsDummyCard)
137137
)
138138

139139
table.insert(UserNames, Var.Services.Players:GetNameFromUserIdAsync(User.ID))
140+
end, function(e)
141+
Template.ProfilePictures[i].Image = Utilities.Icon "tear"
140142
end)
141143
else
142144
local Success, GroupInfo = pcall(function()
@@ -147,7 +149,7 @@ local function NewCard(RankData: { any }, ParentFrame, IsDummyCard)
147149
Template.ProfilePictures[i].Image = GroupInfo.EmblemUrl
148150
Template.ProfilePictures[i].Visible = true
149151

150-
Template.ProfilePictures[i].UICorner.CornerRadius = UDim.new(0, 4)
152+
Template.ProfilePictures[i].UICorner.CornerRadius = UDim.new(0, 5)
151153

152154
table.insert(UserNames, GroupInfo.Name)
153155
end

0 commit comments

Comments
 (0)