Skip to content

Commit

Permalink
Merge pull request #752 from YumNumm/restyled/feature/earthquake-early
Browse files Browse the repository at this point in the history
Restyle [FEATURE] 震度データベースによる地震履歴
  • Loading branch information
YumNumm authored Aug 3, 2024
2 parents 0c0140c + ac28b18 commit 3e93bb2
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 28 deletions.
1 change: 0 additions & 1 deletion app/lib/core/api/eq_api.dart
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ EqApi eqApi(EqApiRef ref) {
objectsDio: Dio(
BaseOptions(
baseUrl: 'https://object.eqmonitor.app',

),
)..interceptors.add(
TalkerDioLogger(
Expand Down
54 changes: 27 additions & 27 deletions app/lib/core/component/intenisty/jma_forecast_intensity_icon.dart
Original file line number Diff line number Diff line change
Expand Up @@ -157,35 +157,35 @@ class JmaForecastIntensityIcon extends ConsumerWidget {
width: 5,
),
),
child:Center(
child: FittedBox(
fit: BoxFit.scaleDown,
child: Row(
crossAxisAlignment: CrossAxisAlignment.start,
children: [
Text(
intensityMainText,
style: TextStyle(
color: fg,
fontSize: 100,
fontWeight: FontWeight.w900,
fontFamily: FontFamily.jetBrainsMono,
),
),
Text(
suffix,
style: TextStyle(
color: fg,
fontSize: 80,
fontWeight: FontWeight.w900,
fontFamily: FontFamily.jetBrainsMono,
fontFamilyFallback: const [FontFamily.notoSansJP],
),
),
],
child: Center(
child: FittedBox(
fit: BoxFit.scaleDown,
child: Row(
crossAxisAlignment: CrossAxisAlignment.start,
children: [
Text(
intensityMainText,
style: TextStyle(
color: fg,
fontSize: 100,
fontWeight: FontWeight.w900,
fontFamily: FontFamily.jetBrainsMono,
),
),
),
Text(
suffix,
style: TextStyle(
color: fg,
fontSize: 80,
fontWeight: FontWeight.w900,
fontFamily: FontFamily.jetBrainsMono,
fontFamilyFallback: const [FontFamily.notoSansJP],
),
),
],
),
),
),
),
),
IntensityIconType.smallWithoutText => SizedBox(
Expand Down

0 comments on commit 3e93bb2

Please sign in to comment.