mirror of
https://github.com/imputnet/cobalt.git
synced 2026-01-22 23:01:20 +00:00
5.7: ui improvements
- padding (everywhere) has been slightly reduced to fit in more content. - padding is now consistent across ui. - added more info to the "how to save" popup for ios devices. - crypto wallet press-to-copy buttons now look like buttons. - improved looks for smallest screens (iphone 5, 5s, se, etc).
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import * as fs from "fs";
|
||||
import { appName, repo } from "../modules/config.js";
|
||||
import { appName, links, repo } from "../modules/config.js";
|
||||
import loadJson from "../modules/sub/loadJSON.js";
|
||||
|
||||
const locPath = './src/localization/languages';
|
||||
@@ -19,7 +19,7 @@ export function loadLoc() {
|
||||
loadLoc();
|
||||
|
||||
export function replaceBase(s) {
|
||||
return s.replace(/\n/g, '<br/>').replace(/{appName}/g, appName).replace(/{repo}/g, repo).replace(/\*;/g, "•");
|
||||
return s.replace(/\n/g, '<br/>').replace(/{saveToGalleryShortcut}/g, links.saveToGalleryShortcut).replace(/{appName}/g, appName).replace(/{repo}/g, repo).replace(/\*;/g, "•");
|
||||
}
|
||||
export function replaceAll(lang, str, string, replacement) {
|
||||
let s = replaceBase(str[string])
|
||||
|
||||
Reference in New Issue
Block a user