codacus commited on
Commit
8aee6eb
·
unverified ·
2 Parent(s): 278322d 8deed62

Merge pull request #771 from thecodacus/app-fail-safari-fix

Browse files
app/commit.json CHANGED
@@ -1 +1 @@
1
- { "commit": "995fb81ac7a03eb1a6d1c56cf2fc92a60028c024" , "version": "" }
 
1
+ { "commit": "995fb81ac7a03eb1a6d1c56cf2fc92a60028c024" , "version": "" }
app/components/settings/features/FeaturesTab.tsx CHANGED
@@ -3,8 +3,8 @@ import { Switch } from '~/components/ui/Switch';
3
  import { useSettings } from '~/lib/hooks/useSettings';
4
 
5
  export default function FeaturesTab() {
6
-
7
- const { debug, enableDebugMode, isLocalModel, enableLocalModels, enableEventLogs, latestBranch, enableLatestBranch } = useSettings();
8
 
9
  const handleToggle = (enabled: boolean) => {
10
  enableDebugMode(enabled);
 
3
  import { useSettings } from '~/lib/hooks/useSettings';
4
 
5
  export default function FeaturesTab() {
6
+ const { debug, enableDebugMode, isLocalModel, enableLocalModels, enableEventLogs, latestBranch, enableLatestBranch } =
7
+ useSettings();
8
 
9
  const handleToggle = (enabled: boolean) => {
10
  enableDebugMode(enabled);
app/lib/hooks/useSettings.tsx CHANGED
@@ -99,6 +99,7 @@ export function useSettings() {
99
  if (checkCommit === undefined) {
100
  checkCommit = commit.commit;
101
  }
 
102
  if (savedLatestBranch === undefined || checkCommit !== commit.commit) {
103
  // If setting hasn't been set by user, check version
104
  checkIsStableVersion().then((isStable) => {
 
99
  if (checkCommit === undefined) {
100
  checkCommit = commit.commit;
101
  }
102
+
103
  if (savedLatestBranch === undefined || checkCommit !== commit.commit) {
104
  // If setting hasn't been set by user, check version
105
  checkIsStableVersion().then((isStable) => {
public/apple-touch-icon-precomposed.png ADDED
public/apple-touch-icon.png ADDED