Skip to content

Commit

Permalink
Fix channel bug; update changelog; bump 0.3.0 versions (#337)
Browse files Browse the repository at this point in the history
* defaultchannels workaround

* clarify privkeys

* bump plist build

* changelog

* update errorscreen text
  • Loading branch information
Christopher David authored Jul 10, 2023
1 parent d5f2de0 commit 97c3393
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 5 deletions.
2 changes: 1 addition & 1 deletion app/i18n/en.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ const en = {
errorScreen: {
title: "Something went wrong!",
friendlySubtitle:
"This is the screen that your users will see in production when an error is thrown. You'll want to customize this message (located in `app/i18n/en.ts`) and probably the layout as well (`app/screens/ErrorScreen`). If you want to remove this entirely, check `app/app.tsx` for the <ErrorBoundary> component.",
"Uh-oh, there was en error. Please tell us about it and we'll fix it! In the meantime you can try refreshing your app below.",
reset: "RESET APP",
},
emptyStateComponent: {
Expand Down
3 changes: 2 additions & 1 deletion app/models/UserStore.ts
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,8 @@ export const UserStoreModel = types
tmp.forEach((id: string) => {
ChannelModel.create({ id, privkey: "" })
})
const joinedChannels = tmp.length > 0 ? tmp : DEFAULT_CHANNELS
const joinedChannels = DEFAULT_CHANNELS // tmp.length > 0 ? tmp : DEFAULT_CHANNELS

applySnapshot(self, {
pubkey,
privkey,
Expand Down
4 changes: 2 additions & 2 deletions app/screens/BackupScreen.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ export const BackupScreen: FC<BackupScreenProps> = observer(function BackupScree
<View>
<View style={$inputGroup}>
<TextField
label="Private Key"
label="Private Key (Hex)"
style={[$input, $inputText]}
inputWrapperStyle={$inputWrapper}
editable={false}
Expand All @@ -69,7 +69,7 @@ export const BackupScreen: FC<BackupScreenProps> = observer(function BackupScree
</View>
<View style={$inputGroup}>
<TextField
label="Nsec"
label="Private Key (Nsec)"
style={[$input, $inputText]}
inputWrapperStyle={$inputWrapper}
editable={false}
Expand Down
8 changes: 8 additions & 0 deletions app/screens/ChangelogScreen.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,14 @@ export const ChangelogScreen: FC<ChangelogScreenProps> = observer(function Chang

return (
<Screen contentContainerStyle={$root} preset="scroll" keyboardOffset={50}>
<Text text={"v0.3.0"} size="lg" preset="bold" />
<Text text={"10 Jul 2023"} size="xs" style={$subtitle} />
<View style={$changelogContainer}>
<Text style={$changelogText}>- Adds AI chat channels! (GPT3.5)</Text>
<Text style={$changelogText}>- Various bugfixes & performance improvements</Text>
</View>
<View style={$divider} />

<Text text={"v0.2.2"} size="lg" preset="bold" />
<Text text={"6 Jul 2023"} size="xs" style={$subtitle} />
<View style={$changelogContainer}>
Expand Down
2 changes: 1 addition & 1 deletion ios/arcade/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>9</string>
<string>10</string>
<key>ITSAppUsesNonExemptEncryption</key>
<false />
<key>LSRequiresIPhoneOS</key>
Expand Down

0 comments on commit 97c3393

Please sign in to comment.