Skip to content

Commit

Permalink
パスの解決がおかしいのを修正
Browse files Browse the repository at this point in the history
  • Loading branch information
shiosyakeyakini-info committed Oct 16, 2023
1 parent d4b0a00 commit 890ffc8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/view/common/misskey_notes/mfm_text.dart
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ class MfmTextState extends ConsumerState<MfmText> {
final page = await ref.read(misskeyProvider(account)).pages.show(
PagesShowRequest(
name: uri.pathSegments[2],
username: uri.pathSegments[1].substring(1)));
username: uri.pathSegments[0].substring(1)));
if (!mounted) return;
context.pushRoute(MisskeyRouteRoute(account: account, page: page));
} else if (uri.pathSegments.length == 1 &&
Expand Down
2 changes: 1 addition & 1 deletion pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -822,7 +822,7 @@ packages:
description:
path: "."
ref: HEAD
resolved-ref: "1268bfe954671a9e1bc8490bf0c42d529c1c0c2f"
resolved-ref: "5962ab923b6effef3c85929a0400169a36588e1c"
url: "https://github.com/shiosyakeyakini-info/misskey_dart.git"
source: git
version: "1.0.0"
Expand Down

0 comments on commit 890ffc8

Please sign in to comment.