fix goToAccount

This commit is contained in:
srgooglo 2022-06-02 00:57:16 +02:00
parent 8b7d4b7443
commit 0c2ecb5def

View File

@ -225,7 +225,7 @@ class App extends React.Component {
return window.app.setLocation(config.app.mainPath) return window.app.setLocation(config.app.mainPath)
}, },
goToAccount: (username) => { goToAccount: (username) => {
return window.app.setLocation(`/account`, { username }) return window.app.setLocation(`/@${username}`)
}, },
isAppCapacitor: () => window.navigator.userAgent === "capacitor", isAppCapacitor: () => window.navigator.userAgent === "capacitor",
setStatusBarStyleDark: async () => { setStatusBarStyleDark: async () => {