Remove spaces

This commit is contained in:
Samuel Elliott 2022-07-27 14:47:36 +01:00
parent b6074ebed0
commit 163023501d
No known key found for this signature in database
GPG Key ID: 8420C7CDE43DC4D6
8 changed files with 8 additions and 8 deletions

View File

@ -24,7 +24,7 @@ function ButtonMac(props: {
const [pressed, setPressIn] = useState(false);
const onPressIn = useCallback(() => setPressIn(true), []);
const onPressOut = useCallback(() => setPressIn(false), []);
const pressed_appearance = window_focused && pressed && hovered;
const active = window_focused && (props.primary || pressed_appearance);

View File

@ -148,7 +148,7 @@ export default function DiscordSetup(props: DiscordSetupProps) {
</Picker>
</> : null}
</> : null}
{selectedMode === DiscordSourceType.URL ? <>
<Text style={[styles.header, theme.text]}>2. Enter presence URL</Text>
<Text style={[styles.help, theme.text]}>This must be a HTTPS URL that returns a JSON object with either a user, friend or presence key. This is intended to be used with nxapi's znc API proxy.</Text>

View File

@ -132,7 +132,7 @@ const styles = StyleSheet.create({
flexDirection: 'row',
justifyContent: 'center',
},
error: {
flex: 1,
paddingVertical: 16,

View File

@ -52,7 +52,7 @@ export class App {
scrollBounce: false,
},
});
window.on('closed', () => this.main_window = null);
return this.main_window = window;

View File

@ -45,7 +45,7 @@ export default class MenuApp {
const monitor = this.app.monitors.monitors.find(m => m instanceof EmbeddedPresenceMonitor &&
m.data.user.id === data.user.id);
const discord_presence_active = discord_presence_monitor instanceof EmbeddedPresenceMonitor &&
const discord_presence_active = discord_presence_monitor instanceof EmbeddedPresenceMonitor &&
discord_presence_monitor?.data?.user.id === data.user.id;
const item = new MenuItem({

View File

@ -230,7 +230,7 @@ export class WebServiceIpc {
na_country: user.country,
na_lang: user.language,
}).toString();
return {
webservice,
url: url.toString(),

View File

@ -13,7 +13,7 @@ export function builder(yargs: Argv<ParentArguments>) {
for (const command of Object.values(commands)) {
if (command.command === 'validate-discord-titles' && !dev) continue;
if (command.command === 'export-discord-titles' && !dev) continue;
// @ts-expect-error
yargs.command(command);
}

View File

@ -108,7 +108,7 @@ declare class Table extends Array<Row> {
constructor(options: PartialTableOptions);
/**
* Width getter
*/
*/
get width(): number;
/**
* Render to a string.