File tree Expand file tree Collapse file tree 1 file changed +0
-8
lines changed
Common/src/main/java/tk/glucodata Expand file tree Collapse file tree 1 file changed +0
-8
lines changed Original file line number Diff line number Diff line change @@ -2589,10 +2589,6 @@ Notification getforgroundnotification() {
25892589 remoteViews .setTextViewTextSize (R .id .notification_glucose , android .util .TypedValue .COMPLEX_UNIT_SP ,
25902590 24 * fontSize );
25912591
2592- if (android .os .Build .VERSION .SDK_INT >= 31 ) {
2593- remoteViews .setString (R .id .notification_glucose , "setFontVariationSettings" , "'wght' " + fontWeight );
2594- }
2595-
25962592 finalText = ssb ;
25972593 }
25982594
@@ -2630,10 +2626,6 @@ Notification getforgroundnotification() {
26302626 // Apply size and weight to expanded startup notification
26312627 remoteViewsExpanded .setTextViewTextSize (R .id .notification_glucose , android .util .TypedValue .COMPLEX_UNIT_SP ,
26322628 28 * fontSize );
2633- if (android .os .Build .VERSION .SDK_INT >= 31 ) {
2634- remoteViewsExpanded .setString (R .id .notification_glucose , "setFontVariationSettings" ,
2635- "'wght' " + fontWeight );
2636- }
26372629
26382630 remoteViewsExpanded .setImageViewBitmap (R .id .notification_arrow , arrowBitmap );
26392631
You can’t perform that action at this time.
0 commit comments