Skip to content

Commit

Permalink
small errors
Browse files Browse the repository at this point in the history
  • Loading branch information
danemadsen committed Jun 27, 2024
1 parent 72f566f commit 0b1a592
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
3 changes: 2 additions & 1 deletion lib/classes/providers/session.dart
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,7 @@ class Session extends ChangeNotifier {
_name = chat.root.children.first.content;
}

save();
notifyListeners();
}

Expand Down Expand Up @@ -251,7 +252,7 @@ class Session extends ChangeNotifier {
}
else {
model = OllamaModel(listener: notify);
await model.resetUri();
model.resetUri();
}

prefs.setInt("llm_type", model.type.index);
Expand Down
3 changes: 1 addition & 2 deletions lib/ui/shared/chat_widgets/chat_message.dart
Original file line number Diff line number Diff line change
Expand Up @@ -241,8 +241,7 @@ class _ChatMessageWidgetState extends State<ChatMessageWidget> with SingleTicker
animationOffset: animationOffset,
child: Container(
margin: const EdgeInsets.symmetric(vertical: 5),
height: 25,
width: 25,
height: 20,
decoration: BoxDecoration(
color: Colors.white,
borderRadius: BorderRadius.circular(10),
Expand Down

0 comments on commit 0b1a592

Please sign in to comment.