Skip to content

Commit 2b84246

Browse files
authored
Merge branch 'main' into mobile-console
2 parents ae5a62c + 6ddd715 commit 2b84246

File tree

3 files changed

+12
-3
lines changed

3 files changed

+12
-3
lines changed

git/gitauth.js

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -202,17 +202,27 @@ window.addEventListener('load', async () => {
202202
body.classList.add('loaded');
203203

204204
showMessage('Logging in...', -1);
205+
206+
207+
// update legacy workflow permission
208+
setStorage('hasWorkflowPermission', 'true');
209+
205210

206211
const gitCode = linkData.gitCode;
207212

208213
// get git token from Github
209214
await getGithubToken(gitCode);
210215

216+
211217
// clear modified repos
212218
modifiedRepos = {};
213219
updateModReposLS();
214220

215-
hideMessage();
221+
222+
// hide message
223+
if (messageEl.textContent === 'Logging in...') {
224+
hideMessage();
225+
}
216226

217227
}
218228

@@ -295,4 +305,3 @@ async function getGithubToken(gitCode) {
295305
}
296306

297307
}
298-

homepage/homepage.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4807,7 +4807,7 @@ body {
48074807

48084808
#features {
48094809
background: #1a1c24 !important;
4810-
margin-top: -5px;
4810+
margin-top: calc(-5px - env(safe-area-inset-bottom));
48114811
}
48124812

48134813
#features .ftPoint {

homepage/secondary-pic.png

-761 Bytes
Loading

0 commit comments

Comments
 (0)