Skip to content

Commit

Permalink
Replaced spaces in NowPlaying with fullwidth char
Browse files Browse the repository at this point in the history
  • Loading branch information
C1XTZ committed Dec 23, 2023
1 parent 25b2cc7 commit 40bcb60
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions mobilephone/mobilephone.lua
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ local settings = ac.storage {
--initial spacing
local spacetable = {}
for i = 0, settings.spaces + 1 do
spacetable[i] = ' '
spacetable[i] = ' '
end

--app data
Expand Down Expand Up @@ -83,7 +83,7 @@ local chat = {
}

local movement = {
['maxdistance'] = 355,
['maxdistance'] = 356,
['timer'] = settings.chattimer,
['down'] = true,
['up'] = false,
Expand All @@ -103,7 +103,7 @@ local nowplaying = {
['scroll'] = '',
['final'] = '',
['length'] = 0,
['pstr'] = ' PAUSE ll',
['pstr'] = '    PAUSE ll',
['isPaused'] = false,
['spaces'] = table.concat(spacetable),
['FUCK'] = false,
Expand Down Expand Up @@ -287,7 +287,7 @@ end
function UpdateSpacing()
spacetable = {}
for i = 0, settings.spaces + 1 do
spacetable[i] = ' '
spacetable[i] = ' '
end
nowplaying.spaces = table.concat(spacetable)
nowplaying.FUCK = true
Expand Down Expand Up @@ -352,7 +352,7 @@ end

--(re)start intervals and show loading nowplaying until a song is actually playing and not paused
function onShowWindow()
if settings.nowplaying then nowplaying.final = ' Loading...' end
if settings.nowplaying then nowplaying.final = '   LOADING...' end
nowplaying.FUCK = true
nowplaying.isPaused = false
UpdateTime()
Expand Down Expand Up @@ -473,7 +473,7 @@ function script.windowMainSettings(dt)
ui.sameLine()
ui.text('\t')
ui.sameLine()
if ui.checkbox('Only for Friends', settings.joinnotifsoundfriends) then settings.joinnotifsoundfriends = not settings.joinnotifsoundfriends end
if ui.checkbox('Friends Only', settings.joinnotifsoundfriends) then settings.joinnotifsoundfriends = not settings.joinnotifsoundfriends end
end
end

Expand Down

0 comments on commit 40bcb60

Please sign in to comment.