mirror of
https://github.com/samuelthomas2774/nxapi.git
synced 2026-04-21 22:47:46 -05:00
Remove spaces
This commit is contained in:
parent
b6074ebed0
commit
163023501d
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
|
|
|||
|
|
@ -132,7 +132,7 @@ const styles = StyleSheet.create({
|
|||
flexDirection: 'row',
|
||||
justifyContent: 'center',
|
||||
},
|
||||
|
||||
|
||||
error: {
|
||||
flex: 1,
|
||||
paddingVertical: 16,
|
||||
|
|
|
|||
|
|
@ -52,7 +52,7 @@ export class App {
|
|||
scrollBounce: false,
|
||||
},
|
||||
});
|
||||
|
||||
|
||||
window.on('closed', () => this.main_window = null);
|
||||
|
||||
return this.main_window = window;
|
||||
|
|
|
|||
|
|
@ -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({
|
||||
|
|
|
|||
|
|
@ -230,7 +230,7 @@ export class WebServiceIpc {
|
|||
na_country: user.country,
|
||||
na_lang: user.language,
|
||||
}).toString();
|
||||
|
||||
|
||||
return {
|
||||
webservice,
|
||||
url: url.toString(),
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -108,7 +108,7 @@ declare class Table extends Array<Row> {
|
|||
constructor(options: PartialTableOptions);
|
||||
/**
|
||||
* Width getter
|
||||
*/
|
||||
*/
|
||||
get width(): number;
|
||||
/**
|
||||
* Render to a string.
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user