Skip to content

Commit

Permalink
Format prefer_interpolation_to_compose_strings
Browse files Browse the repository at this point in the history
  • Loading branch information
TaYaKi71751 committed Dec 31, 2023
1 parent 360eba6 commit e26aef8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion lib/component/hitomi/hitomi_parser.dart
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ class HitomiParser {
.replaceAll('%20', ' ');
if (tag == null) return;
if (!tag.contains(':')) {
tag = 'tag:' + tag;
tag = 'tag:$tag';
}
tags.add(tag);
});
Expand Down
4 changes: 1 addition & 3 deletions lib/version/sync.dart
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,7 @@ class SyncInfoRecord {

class SyncManager {
static String syncInfoURL(String branch) {
return 'https://raw.githubusercontent.com/violet-dev/sync-data/' +
(branch) +
'/syncversion.txt';
return 'https://raw.githubusercontent.com/violet-dev/sync-data/$branch/syncversion.txt';
}

static bool firstSync = false;
Expand Down

0 comments on commit e26aef8

Please sign in to comment.